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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008781/0.0008782, allocations: 95.41 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008826/0.0008828, allocations: 204.7 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1964/0.1964, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 63.55 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3652/0.4865, allocations: 147 MB / 0.6159 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.4943, allocations: 5.657 MB / 0.6215 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/0.4952, allocations: 19.81 kB / 0.6215 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.4964, allocations: 286.5 kB / 0.6217 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.4986, allocations: 0.8205 MB / 0.6226 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.5011, allocations: 0.9287 MB / 0.6235 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002914/0.5041, allocations: 2.683 MB / 0.6261 GB, free: 6.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008074/0.5049, allocations: 405.2 kB / 0.6265 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.5063, allocations: 0.6654 MB / 0.6271 GB, free: 5.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.5077, allocations: 0.7357 MB / 0.6278 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.5079, allocations: 32 kB / 0.6279 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.5092, allocations: 0.534 MB / 0.6284 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.5096, allocations: 239.2 kB / 0.6286 GB, free: 4.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006551/0.5103, allocations: 407.9 kB / 0.629 GB, free: 3.641 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.5113, allocations: 0.8183 MB / 0.6298 GB, free: 2.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5113, allocations: 0 / 0.6298 GB, free: 2.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5113, allocations: 4 kB / 0.6298 GB, free: 2.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.093e-05/0.5114, allocations: 0 / 0.6298 GB, free: 2.816 MB / 462.1 MB 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.002057/0.5134, allocations: 0.9155 MB / 0.6307 GB, free: 1.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5135, allocations: 12.03 kB / 0.6307 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004135/0.5139, allocations: 84.09 kB / 0.6308 GB, free: 1.754 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008264/0.5147, allocations: 0.517 MB / 0.6313 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.5149, allocations: 108.9 kB / 0.6314 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.515, allocations: 44.56 kB / 0.6314 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.5163, allocations: 0.8188 MB / 0.6322 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5163, allocations: 0 / 0.6322 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.5164, allocations: 27.98 kB / 0.6323 GB, free: 128 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/0.5165, allocations: 44.92 kB / 0.6323 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.5175, allocations: 0.6485 MB / 0.6329 GB, free: 15.43 MB / 478.1 MB 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.004442/0.522, allocations: 3.975 MB / 0.6368 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.5228, allocations: 426.2 kB / 0.6372 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.5231, allocations: 201.4 kB / 0.6374 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/0.5237, allocations: 0.7405 MB / 0.6381 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.5238, allocations: 34.89 kB / 0.6382 GB, free: 9.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.5238, allocations: 0 / 0.6382 GB, free: 9.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003142/0.5269, allocations: 1.546 MB / 0.6397 GB, free: 7.984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.527, allocations: 136.5 kB / 0.6398 GB, free: 7.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.5277, allocations: 0.5654 MB / 0.6404 GB, free: 7.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.5277, allocations: 41.69 kB / 0.6404 GB, free: 7.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.528, allocations: 362.9 kB / 0.6408 GB, free: 6.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5281, allocations: 157.8 kB / 0.6409 GB, free: 6.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.5282, allocations: 65.67 kB / 0.641 GB, free: 6.613 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5284, allocations: 374.8 kB / 0.6413 GB, free: 6.238 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.5287, allocations: 213.9 kB / 0.6415 GB, free: 6.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.5293, allocations: 0.5084 MB / 0.642 GB, free: 5.379 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.5303, allocations: 0.7679 MB / 0.6428 GB, free: 4.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.5303, allocations: 4 kB / 0.6428 GB, free: 4.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001586/0.5319, allocations: 0.9062 MB / 0.6437 GB, free: 3.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5319, allocations: 15.94 kB / 0.6437 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5319, allocations: 8 kB / 0.6437 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.5333, allocations: 288.7 kB / 0.644 GB, free: 3.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.5337, allocations: 123.8 kB / 0.6441 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009763/0.5347, allocations: 0.8897 MB / 0.645 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.5352, allocations: 51.89 kB / 0.645 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.5353, allocations: 43.98 kB / 0.645 GB, free: 2.125 MB / 478.1 MB 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.0003363/0.5356, allocations: 241.5 kB / 0.6453 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.5358, allocations: 67.25 kB / 0.6453 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.537, allocations: 0.7753 MB / 0.6461 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.5371, allocations: 4 kB / 0.6461 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5371, allocations: 0 / 0.6461 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.5371, allocations: 3.984 kB / 0.6461 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.5391, allocations: 1.416 MB / 0.6475 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.5391, allocations: 192 / 0.6475 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5401, allocations: 207.8 kB / 0.6477 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.585e-05/0.5402, allocations: 24.84 kB / 0.6477 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.5403, allocations: 8 kB / 0.6477 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.5422, allocations: 2.695 MB / 0.6503 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.5422, allocations: 4.031 kB / 0.6504 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.5437, allocations: 0.9996 MB / 0.6513 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.544, allocations: 212.1 kB / 0.6515 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.5441, allocations: 8 kB / 0.6515 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.5445, allocations: 39.97 kB / 0.6516 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.5446, allocations: 31.95 kB / 0.6516 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.5447, allocations: 23.98 kB / 0.6516 GB, free: 10.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000523/0.5452, allocations: 435 kB / 0.652 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5452, allocations: 0 / 0.652 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008229/0.546, allocations: 227.9 kB / 0.6523 GB, free: 10.25 MB / 494.1 MB 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.0006051/0.5467, allocations: 258 kB / 0.6525 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.5479, allocations: 0.5986 MB / 0.6531 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5479, allocations: 0.5625 kB / 0.6531 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.549, allocations: 450.1 kB / 0.6535 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.5509, allocations: 353.7 kB / 0.6539 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.5534, allocations: 1.736 MB / 0.6556 GB, free: 6.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.5539, allocations: 0.9426 MB / 0.6565 GB, free: 5.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.5541, allocations: 67.42 kB / 0.6565 GB, free: 5.785 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5541, allocations: 0 / 0.6565 GB, free: 5.785 MB / 494.1 MB Notification: Performance of Templates: time 0.02307/0.5772, allocations: 15.79 MB / 0.672 GB, free: 6.055 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p