Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.009042/0.009042, allocations: 1.784 MB / 21.57 MB, free: 2.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007499/0.0007499, allocations: 85.23 kB / 25.4 MB, free: 7 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000803/0.000803, allocations: 158.9 kB / 29.33 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9904/0.9904, allocations: 177.2 MB / 210.3 MB, free: 3.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6433/0.6433, allocations: 102.4 MB / 369.9 MB, free: 224 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") translateModel(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="GasFanAdvanced.kappaA|GasFanAdvanced.kappaB|Time|speed1.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 470.4 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.92e-05, allocations: 5.109 kB / 470.4 MB, free: 18.82 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity): time 0.1271/0.1271, allocations: 57.88 MB / 0.5159 GB, free: 13.78 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.1451, allocations: 18.75 MB / 0.5342 GB, free: 10.96 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007488/0.1459, allocations: 27.88 kB / 0.5343 GB, free: 10.94 MB / 458.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1475, allocations: 0.847 MB / 0.5351 GB, free: 10.09 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.1487, allocations: 0.8309 MB / 0.5359 GB, free: 9.25 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.1539, allocations: 2.796 MB / 0.5386 GB, free: 6.441 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.1563, allocations: 2.252 MB / 0.5408 GB, free: 4.188 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.1587, allocations: 1.981 MB / 0.5428 GB, free: 2.148 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1588/0.3175, allocations: 54.37 MB / 0.5959 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.32, allocations: 1.758 MB / 0.5976 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009246/0.3209, allocations: 496 kB / 0.5981 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005234/0.3262, allocations: 3.254 MB / 0.6012 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.3282, allocations: 2.229 MB / 0.6034 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.3297, allocations: 1.645 MB / 0.605 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3404, allocations: 7.894 MB / 0.6127 GB, free: 11.56 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3404, allocations: 0 / 0.6127 GB, free: 11.56 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3404, allocations: 3.938 kB / 0.6127 GB, free: 11.56 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.96e-05/0.3405, allocations: 0 / 0.6127 GB, free: 11.56 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.006143/0.3466, allocations: 6.409 MB / 0.619 GB, free: 5.07 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3467, allocations: 8.031 kB / 0.619 GB, free: 5.062 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/0.3474, allocations: 0.611 MB / 0.6196 GB, free: 4.449 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.3515, allocations: 4.059 MB / 0.6236 GB, free: 292 kB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3516, allocations: 154.4 kB / 0.6237 GB, free: 124 kB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.3519, allocations: 216.4 kB / 0.6239 GB, free: 15.91 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005783/0.3577, allocations: 9.021 MB / 0.6327 GB, free: 4.719 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3577, allocations: 3.984 kB / 0.6327 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.3579, allocations: 87.94 kB / 0.6328 GB, free: 4.629 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.358, allocations: 186.9 kB / 0.633 GB, free: 4.445 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009899/0.3679, allocations: 3.017 MB / 0.6359 GB, free: 1.414 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/0.384, allocations: 8.79 MB / 0.6445 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/0.3878, allocations: 1.375 MB / 0.6459 GB, free: 7.043 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.3882, allocations: 162.3 kB / 0.646 GB, free: 6.879 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.3884, allocations: 168.3 kB / 0.6462 GB, free: 6.715 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.94e-05/0.3885, allocations: 71.39 kB / 0.6462 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=92): time 3.627e-06/0.3885, allocations: 0 / 0.6462 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of matching and sorting (n=93): time 0.01075/0.3993, allocations: 2.477 MB / 0.6487 GB, free: 4.117 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009284/0.4002, allocations: 2.63 MB / 0.6512 GB, free: 0.8555 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2323/0.6325, allocations: 4.623 MB / 0.6557 GB, free: 125.1 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.6328, allocations: 64.92 kB / 0.6558 GB, free: 125 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.6343, allocations: 2.347 MB / 0.6581 GB, free: 124.9 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.6346, allocations: 355.6 kB / 0.6584 GB, free: 124.8 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009597/0.6356, allocations: 0.6037 MB / 0.659 GB, free: 124.7 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.6356, allocations: 477.2 kB / 0.6595 GB, free: 124.2 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.636, allocations: 221.7 kB / 0.6597 GB, free: 124.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.6374, allocations: 4.502 MB / 0.6641 GB, free: 118.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.6386, allocations: 1.42 MB / 0.6655 GB, free: 117.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.6386, allocations: 8.375 kB / 0.6655 GB, free: 117.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00277/0.6413, allocations: 1.673 MB / 0.6671 GB, free: 117.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6414, allocations: 13.28 kB / 0.6671 GB, free: 117.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.6414, allocations: 18.59 kB / 0.6671 GB, free: 117.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/0.6414, allocations: 29.22 kB / 0.6672 GB, free: 117.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/0.6424, allocations: 0.4965 MB / 0.6677 GB, free: 117.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/0.6424, allocations: 44.55 kB / 0.6677 GB, free: 117.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.6443, allocations: 106.1 kB / 0.6678 GB, free: 117.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.6445, allocations: 184.2 kB / 0.668 GB, free: 117.5 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009774/0.6455, allocations: 334.5 kB / 0.6683 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/0.6465, allocations: 486 kB / 0.6688 GB, free: 117.1 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.6483, allocations: 1.297 MB / 0.67 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6483, allocations: 9.656 kB / 0.67 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.6483, allocations: 0 / 0.67 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6483, allocations: 4.781 kB / 0.67 GB, free: 116.9 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/0.6526, allocations: 3.23 MB / 0.6732 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6526, allocations: 5.344 kB / 0.6732 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.653, allocations: 214.9 kB / 0.6734 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.653, allocations: 2.562 kB / 0.6734 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.6531, allocations: 37.69 kB / 0.6734 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.6531, allocations: 6.094 kB / 0.6734 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6531, allocations: 5.406 kB / 0.6735 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.6546, allocations: 1.264 MB / 0.6747 GB, free: 116.1 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009749/0.6556, allocations: 0.7974 MB / 0.6755 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/0.656, allocations: 39.3 kB / 0.6755 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007401/0.6567, allocations: 65.27 kB / 0.6756 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6568, allocations: 77.39 kB / 0.6756 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.6569, allocations: 77.91 kB / 0.6757 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002732/0.6596, allocations: 2.503 MB / 0.6782 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6596, allocations: 0 / 0.6782 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.002271/0.6619, allocations: 0.8794 MB / 0.679 GB, free: 115.6 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (GasFanAdvanced.kappaA,GasFanAdvanced.kappaB,speed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.6634, allocations: 0.8816 MB / 0.6799 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.6648, allocations: 0.85 MB / 0.6807 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.6648, allocations: 9.594 kB / 0.6807 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.665, allocations: 267.7 kB / 0.681 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.6669, allocations: 0.5922 MB / 0.6816 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/0.6754, allocations: 5.718 MB / 0.6871 GB, free: 112.8 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.6763, allocations: 0.8597 MB / 0.688 GB, free: 112.7 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.002539/0.6788, allocations: 0.8624 MB / 0.6888 GB, free: 112.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/0.681, allocations: 1.125 MB / 0.6899 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of SimCode: time 2.916e-06/0.681, allocations: 2.625 kB / 0.6899 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of Templates: time 0.06425/0.7453, allocations: 56.46 MB / 0.7451 GB, free: 74.12 MB / 0.5574 GB " [Timeout remaining time 799] make -j1 -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; mkfifo ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe >> ../files/ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.sim & ./ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.TurboMachines.Compressors.Check.Test_CompressorGas_L1_affinity.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.695172155275941]