Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2336/0.2336, allocations: 46.11 MB / 343.7 MB, free: 11.82 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 89.47 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1341, allocations: 62.44 MB / 479.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4832/0.6175, allocations: 175.5 MB / 0.6395 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009217/0.6267, allocations: 5.476 MB / 0.6449 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.6281, allocations: 27.75 kB / 0.6449 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.6295, allocations: 270.5 kB / 0.6452 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.6336, allocations: 1.13 MB / 0.6463 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.6366, allocations: 0.8571 MB / 0.6471 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.6403, allocations: 2.734 MB / 0.6498 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.6414, allocations: 403.6 kB / 0.6502 GB, free: 9.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.6445, allocations: 0.9729 MB / 0.6511 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.6462, allocations: 0.6812 MB / 0.6518 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.6465, allocations: 35.94 kB / 0.6518 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.6485, allocations: 0.5382 MB / 0.6523 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.6491, allocations: 231.3 kB / 0.6525 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008728/0.65, allocations: 378.2 kB / 0.6529 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.6525, allocations: 1.278 MB / 0.6542 GB, free: 5.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6525, allocations: 0 / 0.6542 GB, free: 5.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.6526, allocations: 0 / 0.6542 GB, free: 5.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.6526, allocations: 0 / 0.6542 GB, free: 5.324 MB / 494.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.002945/0.6556, allocations: 1.106 MB / 0.6552 GB, free: 4.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6556, allocations: 12.03 kB / 0.6552 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/0.6566, allocations: 143 kB / 0.6554 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009271/0.6575, allocations: 0.5041 MB / 0.6559 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.6577, allocations: 96.41 kB / 0.656 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.6578, allocations: 59.88 kB / 0.656 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.6592, allocations: 0.8135 MB / 0.6568 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.6593, allocations: 4 kB / 0.6568 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.6594, allocations: 24 kB / 0.6568 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/0.6594, allocations: 36.97 kB / 0.6569 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.6606, allocations: 0.6243 MB / 0.6575 GB, free: 1.727 MB / 494.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.005229/0.6659, allocations: 3.951 MB / 0.6614 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.6666, allocations: 347.6 kB / 0.6617 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.6669, allocations: 169.3 kB / 0.6618 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.667, allocations: 101.3 kB / 0.6619 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.6671, allocations: 38.84 kB / 0.662 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.6671, allocations: 0 / 0.662 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006357/0.6735, allocations: 1.668 MB / 0.6636 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.6736, allocations: 140.5 kB / 0.6637 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.6745, allocations: 0.6172 MB / 0.6643 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.6745, allocations: 29.7 kB / 0.6644 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.6748, allocations: 366.9 kB / 0.6647 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.675, allocations: 145.9 kB / 0.6649 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.6752, allocations: 154.6 kB / 0.665 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6755, allocations: 374.8 kB / 0.6654 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.6759, allocations: 201.9 kB / 0.6656 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.6766, allocations: 0.5133 MB / 0.6661 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.6777, allocations: 0.7513 MB / 0.6668 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.6778, allocations: 8 kB / 0.6668 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001774/0.6795, allocations: 0.8837 MB / 0.6677 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.6796, allocations: 16.16 kB / 0.6677 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6796, allocations: 12 kB / 0.6677 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.6812, allocations: 306.8 kB / 0.668 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.6817, allocations: 131.8 kB / 0.6681 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.6831, allocations: 0.9192 MB / 0.669 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.6839, allocations: 55.94 kB / 0.6691 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.684, allocations: 63.98 kB / 0.6691 GB, free: 5.062 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005167/0.6845, allocations: 257.4 kB / 0.6694 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.6847, allocations: 67.25 kB / 0.6694 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.6868, allocations: 0.8577 MB / 0.6703 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.6868, allocations: 8 kB / 0.6703 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.6869, allocations: 0 / 0.6703 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6869, allocations: 3.984 kB / 0.6703 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.69, allocations: 1.457 MB / 0.6717 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.69, allocations: 3.984 kB / 0.6717 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.6912, allocations: 207.8 kB / 0.6719 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.6913, allocations: 29.03 kB / 0.6719 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.147e-05/0.6914, allocations: 19.98 kB / 0.672 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.6939, allocations: 2.685 MB / 0.6746 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.694, allocations: 256 / 0.6746 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.6955, allocations: 0.8211 MB / 0.6754 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/0.696, allocations: 192.2 kB / 0.6756 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.6962, allocations: 11.94 kB / 0.6756 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.6968, allocations: 27.91 kB / 0.6756 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.697, allocations: 47.89 kB / 0.6756 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6971, allocations: 52.03 kB / 0.6757 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007641/0.6978, allocations: 435 kB / 0.6761 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6979, allocations: 0 / 0.6761 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001155/0.699, allocations: 256 kB / 0.6764 GB, free: 13.18 MB / 0.5137 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009937/0.7, allocations: 293.1 kB / 0.6766 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.7014, allocations: 0.548 MB / 0.6772 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.7015, allocations: 4 kB / 0.6772 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.7026, allocations: 418.7 kB / 0.6776 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.7046, allocations: 357.5 kB / 0.6779 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.7075, allocations: 1.548 MB / 0.6794 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.7082, allocations: 0.9261 MB / 0.6803 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001427/0.7096, allocations: 474.3 kB / 0.6808 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.71, allocations: 107.4 kB / 0.6809 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.71, allocations: 0 / 0.6809 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of Templates: time 0.03497/0.745, allocations: 16.9 MB / 0.6974 GB, free: 7.699 MB / 0.5294 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches