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.001723/0.001723, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002194/0.002195, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.721/2.721, allocations: 227.4 MB / 246.9 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3435/0.3435, allocations: 46.1 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002999/0.002999, allocations: 76.16 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.216, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.7194/0.9354, allocations: 148.9 MB / 0.6141 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.9493, allocations: 5.736 MB / 0.6197 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.9512, allocations: 27.75 kB / 0.6197 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.9533, allocations: 286.5 kB / 0.62 GB, free: 8.809 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.9564, allocations: 0.8205 MB / 0.6208 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.9603, allocations: 0.9296 MB / 0.6217 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004121/0.9644, allocations: 2.687 MB / 0.6243 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.9656, allocations: 407.1 kB / 0.6247 GB, free: 3.973 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.9677, allocations: 0.6654 MB / 0.6254 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.9698, allocations: 0.7357 MB / 0.6261 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.9702, allocations: 36 kB / 0.6261 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.9724, allocations: 0.5341 MB / 0.6266 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005656/0.9729, allocations: 239.3 kB / 0.6269 GB, free: 1.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.974, allocations: 378.2 kB / 0.6272 GB, free: 1.391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.9756, allocations: 0.8458 MB / 0.6281 GB, free: 0.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9756, allocations: 0 / 0.6281 GB, free: 0.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.9756, allocations: 0 / 0.6281 GB, free: 0.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.9756, allocations: 0 / 0.6281 GB, free: 0.543 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.004503/0.9802, allocations: 1.063 MB / 0.6291 GB, free: 15.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.758e-05/0.9802, allocations: 8.031 kB / 0.6291 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.9811, allocations: 91.98 kB / 0.6292 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.9826, allocations: 0.4977 MB / 0.6297 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.9828, allocations: 108.9 kB / 0.6298 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.9831, allocations: 52.47 kB / 0.6298 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.9853, allocations: 0.8227 MB / 0.6306 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.9854, allocations: 7.938 kB / 0.6306 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.9856, allocations: 23.98 kB / 0.6307 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.9857, allocations: 40.97 kB / 0.6307 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.9877, allocations: 0.6556 MB / 0.6313 GB, free: 13.01 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.009212/0.9969, allocations: 3.959 MB / 0.6352 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.9985, allocations: 428.2 kB / 0.6356 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.9992, allocations: 201.4 kB / 0.6358 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1, allocations: 0.7366 MB / 0.6365 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/1, allocations: 42.89 kB / 0.6366 GB, free: 7.188 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 5.33e-06/1, allocations: 0 / 0.6366 GB, free: 7.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.006534/1.007, allocations: 1.542 MB / 0.6381 GB, free: 5.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/1.007, allocations: 132.5 kB / 0.6382 GB, free: 5.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.009, allocations: 0.5655 MB / 0.6388 GB, free: 4.836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/1.009, allocations: 33.7 kB / 0.6388 GB, free: 4.797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/1.009, allocations: 358.9 kB / 0.6391 GB, free: 4.441 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/1.01, allocations: 157.7 kB / 0.6393 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004154/1.01, allocations: 142.5 kB / 0.6394 GB, free: 4.141 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002997/1.01, allocations: 378.8 kB / 0.6398 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007143/1.011, allocations: 213.9 kB / 0.64 GB, free: 3.551 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.012, allocations: 0.5123 MB / 0.6405 GB, free: 2.898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/1.014, allocations: 0.7601 MB / 0.6412 GB, free: 2.008 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/1.014, allocations: 5.938 kB / 0.6412 GB, free: 2.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003572/1.018, allocations: 0.918 MB / 0.6421 GB, free: 1.078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/1.018, allocations: 11.94 kB / 0.6421 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/1.018, allocations: 12 kB / 0.6422 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/1.021, allocations: 283 kB / 0.6424 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/1.022, allocations: 119.8 kB / 0.6425 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/1.024, allocations: 0.884 MB / 0.6434 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.025, allocations: 51.94 kB / 0.6434 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.025, allocations: 36 kB / 0.6435 GB, free: 15.66 MB / 494.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.0007891/1.026, allocations: 253.4 kB / 0.6437 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/1.026, allocations: 71.23 kB / 0.6438 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/1.029, allocations: 0.7667 MB / 0.6445 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.029, allocations: 8 kB / 0.6445 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/1.029, allocations: 0 / 0.6445 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/1.029, allocations: 7.922 kB / 0.6446 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/1.033, allocations: 1.412 MB / 0.6459 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.033, allocations: 0 / 0.6459 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.035, allocations: 204.8 kB / 0.6461 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/1.035, allocations: 28.84 kB / 0.6462 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/1.035, allocations: 12 kB / 0.6462 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/1.039, allocations: 2.69 MB / 0.6488 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.039, allocations: 0 / 0.6488 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/1.042, allocations: 1.003 MB / 0.6498 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007651/1.043, allocations: 208.1 kB / 0.65 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.043, allocations: 8 kB / 0.65 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.044, allocations: 31.98 kB / 0.65 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.045, allocations: 39.89 kB / 0.6501 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.045, allocations: 31.97 kB / 0.6501 GB, free: 8.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001237/1.046, allocations: 431 kB / 0.6505 GB, free: 8.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.046, allocations: 0 / 0.6505 GB, free: 8.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001909/1.048, allocations: 223.9 kB / 0.6507 GB, free: 7.793 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.001118/1.049, allocations: 266.4 kB / 0.651 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002357/1.052, allocations: 0.6024 MB / 0.6515 GB, free: 6.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.052, allocations: 0 / 0.6515 GB, free: 6.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.053, allocations: 451.2 kB / 0.652 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.057, allocations: 347 kB / 0.6523 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/1.062, allocations: 1.658 MB / 0.6539 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.063, allocations: 0.9271 MB / 0.6548 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/1.063, allocations: 75.42 kB / 0.6549 GB, free: 3.414 MB / 494.1 MB Notification: Performance of SimCode: time 4.319e-06/1.063, allocations: 0 / 0.6549 GB, free: 3.414 MB / 494.1 MB Notification: Performance of Templates: time 0.03096/1.094, allocations: 15.88 MB / 0.6704 GB, free: 3.598 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