Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00186/0.00186, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 219.4 kB / 24.48 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.95 MB / 361.5 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 83.88 kB / 0.4974 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3649, allocations: 66.09 MB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1775/0.5424, allocations: 130.3 MB / 0.6891 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008736/0.5512, allocations: 5.171 MB / 0.6942 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008501/0.552, allocations: 35.69 kB / 0.6942 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.5532, allocations: 314 kB / 0.6945 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.5557, allocations: 0.8902 MB / 0.6954 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.5589, allocations: 1.043 MB / 0.6964 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002692/0.5616, allocations: 1.817 MB / 0.6982 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.5623, allocations: 389.6 kB / 0.6985 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.564, allocations: 0.798 MB / 0.6993 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5653, allocations: 0.7358 MB / 0.7 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.5654, allocations: 64 kB / 0.7001 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.5667, allocations: 487.1 kB / 0.7006 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.567, allocations: 279.1 kB / 0.7008 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.5674, allocations: 334.6 kB / 0.7012 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.5691, allocations: 1.167 MB / 0.7023 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5691, allocations: 0 / 0.7023 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5691, allocations: 0 / 0.7023 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.5691, allocations: 4 kB / 0.7023 GB, free: 3.719 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002192/0.5713, allocations: 0.9834 MB / 0.7033 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5714, allocations: 19.97 kB / 0.7033 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.5717, allocations: 100.4 kB / 0.7034 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000967/0.5727, allocations: 478.7 kB / 0.7038 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.5728, allocations: 156.4 kB / 0.704 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.88e-05/0.5729, allocations: 52.36 kB / 0.704 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5745, allocations: 1.137 MB / 0.7051 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.5745, allocations: 4 kB / 0.7051 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.5746, allocations: 23.98 kB / 0.7052 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.5747, allocations: 48.92 kB / 0.7052 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.5757, allocations: 0.644 MB / 0.7058 GB, free: 15.86 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.5803, allocations: 3.07 MB / 0.7088 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008436/0.5811, allocations: 408.2 kB / 0.7092 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.5814, allocations: 191.9 kB / 0.7094 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.5817, allocations: 64.28 kB / 0.7095 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.5818, allocations: 46.89 kB / 0.7095 GB, free: 11.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.226e-06/0.5818, allocations: 0 / 0.7095 GB, free: 11.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003313/0.5851, allocations: 1.39 MB / 0.7109 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/0.5852, allocations: 136.5 kB / 0.711 GB, free: 10.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.5859, allocations: 0.522 MB / 0.7115 GB, free: 9.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.5859, allocations: 33.7 kB / 0.7115 GB, free: 9.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.5862, allocations: 368.4 kB / 0.7119 GB, free: 9.449 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.5864, allocations: 174.5 kB / 0.7121 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.5866, allocations: 138.6 kB / 0.7122 GB, free: 9.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5868, allocations: 370.8 kB / 0.7126 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.5871, allocations: 217.9 kB / 0.7128 GB, free: 8.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.5878, allocations: 0.5845 MB / 0.7133 GB, free: 7.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.5889, allocations: 0.764 MB / 0.7141 GB, free: 6.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.5889, allocations: 4 kB / 0.7141 GB, free: 6.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001715/0.5906, allocations: 0.9027 MB / 0.715 GB, free: 6.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.5906, allocations: 8 kB / 0.715 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.5906, allocations: 11.94 kB / 0.715 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.592, allocations: 288.7 kB / 0.7153 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.5924, allocations: 115.8 kB / 0.7154 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.5935, allocations: 0.8975 MB / 0.7162 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.594, allocations: 35.92 kB / 0.7163 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.594, allocations: 35.94 kB / 0.7163 GB, free: 4.594 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003829/0.5944, allocations: 245.5 kB / 0.7165 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.5946, allocations: 67.55 kB / 0.7166 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.5959, allocations: 0.6866 MB / 0.7173 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.5959, allocations: 11.98 kB / 0.7173 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5959, allocations: 0 / 0.7173 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5959, allocations: 0 / 0.7173 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.5979, allocations: 1.18 MB / 0.7184 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5979, allocations: 0 / 0.7184 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5989, allocations: 199.8 kB / 0.7186 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.172e-05/0.599, allocations: 24.84 kB / 0.7187 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.599, allocations: 15.98 kB / 0.7187 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.6016, allocations: 2.618 MB / 0.7212 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6016, allocations: 4 kB / 0.7212 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.6032, allocations: 0.9379 MB / 0.7221 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.6037, allocations: 115.5 kB / 0.7223 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.6038, allocations: 16 kB / 0.7223 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.6042, allocations: 15.98 kB / 0.7223 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.6043, allocations: 35.88 kB / 0.7223 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.6044, allocations: 27.98 kB / 0.7224 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005869/0.605, allocations: 354.8 kB / 0.7227 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.605, allocations: 0 / 0.7227 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001011/0.606, allocations: 223.8 kB / 0.7229 GB, free: 13.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005857/0.6066, allocations: 251.2 kB / 0.7231 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.608, allocations: 0.5795 MB / 0.7237 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.6081, allocations: 11.89 kB / 0.7237 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.6091, allocations: 430.3 kB / 0.7241 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6107, allocations: 319.1 kB / 0.7244 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.6134, allocations: 1.424 MB / 0.7258 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.6138, allocations: 337.1 kB / 0.7261 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.614, allocations: 63.42 kB / 0.7262 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.614, allocations: 7.938 kB / 0.7262 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.2994/0.9134, allocations: 15.48 MB / 0.7413 GB, free: 171.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.547692514024675]