Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009012/0.0009013, allocations: 201 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 229.5 MB / 247.7 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008235/0.0008231, allocations: 95.09 kB / 299.8 MB, free: 5.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3311/0.3311, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002345, allocations: 8 kB / 470.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3017, allocations: 63.1 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1437/0.4454, allocations: 136.8 MB / 0.655 GB, free: 13.76 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008026/0.4535, allocations: 7.839 MB / 0.6626 GB, free: 5.332 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.4542, allocations: 19.81 kB / 0.6627 GB, free: 5.312 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009029/0.4552, allocations: 286.5 kB / 0.6629 GB, free: 5.031 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.457, allocations: 0.8166 MB / 0.6637 GB, free: 4.211 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.4595, allocations: 0.9236 MB / 0.6646 GB, free: 3.285 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.4623, allocations: 2.683 MB / 0.6672 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00081/0.4632, allocations: 397 kB / 0.6676 GB, free: 204 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.4647, allocations: 0.6928 MB / 0.6683 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.466, allocations: 0.7241 MB / 0.669 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002321/0.4663, allocations: 32 kB / 0.669 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.4677, allocations: 0.5145 MB / 0.6695 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.468, allocations: 243.2 kB / 0.6698 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.4685, allocations: 395.9 kB / 0.6701 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.4698, allocations: 1.092 MB / 0.6712 GB, free: 12.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4698, allocations: 0 / 0.6712 GB, free: 12.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4698, allocations: 0 / 0.6712 GB, free: 12.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.4698, allocations: 0 / 0.6712 GB, free: 12.5 MB / 490.7 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.001865/0.4717, allocations: 0.9193 MB / 0.6721 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4718, allocations: 8.031 kB / 0.6721 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.4721, allocations: 96.08 kB / 0.6722 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.4728, allocations: 0.5054 MB / 0.6727 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-05/0.4729, allocations: 101 kB / 0.6728 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.473, allocations: 56.36 kB / 0.6729 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.4741, allocations: 0.811 MB / 0.6736 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4742, allocations: 3.938 kB / 0.6737 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.4742, allocations: 27.98 kB / 0.6737 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/0.4743, allocations: 36.98 kB / 0.6737 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009468/0.4753, allocations: 0.6555 MB / 0.6744 GB, free: 9.129 MB / 490.7 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.004166/0.4794, allocations: 3.964 MB / 0.6782 GB, free: 4.887 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.4802, allocations: 420.3 kB / 0.6786 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.4805, allocations: 201.4 kB / 0.6788 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.4811, allocations: 0.7366 MB / 0.6795 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4812, allocations: 46.81 kB / 0.6796 GB, free: 3.309 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/0.4812, allocations: 0 / 0.6796 GB, free: 3.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.002894/0.4841, allocations: 1.534 MB / 0.6811 GB, free: 1.699 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.4842, allocations: 136.5 kB / 0.6812 GB, free: 1.535 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.4848, allocations: 0.5615 MB / 0.6818 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.4849, allocations: 37.7 kB / 0.6818 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.4851, allocations: 350.9 kB / 0.6821 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.4852, allocations: 173.7 kB / 0.6823 GB, free: 412 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.4852, allocations: 12 kB / 0.6823 GB, free: 400 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4854, allocations: 378.8 kB / 0.6827 GB, free: 12 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2189/0.7043, allocations: 207.7 kB / 0.6829 GB, free: 145.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.7053, allocations: 0.5094 MB / 0.6834 GB, free: 145.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.7067, allocations: 0.7565 MB / 0.6841 GB, free: 145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/0.7068, allocations: 3 kB / 0.6841 GB, free: 145 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002511/0.7093, allocations: 0.9065 MB / 0.685 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.7094, allocations: 9.031 kB / 0.685 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.7094, allocations: 12.41 kB / 0.685 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.7109, allocations: 286.8 kB / 0.6853 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.7113, allocations: 126 kB / 0.6854 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009291/0.7122, allocations: 0.8888 MB / 0.6863 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.7128, allocations: 37.86 kB / 0.6863 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.7129, allocations: 41.2 kB / 0.6863 GB, free: 143.9 MB / 490.7 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.000313/0.7132, allocations: 247.9 kB / 0.6866 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.7133, allocations: 67.91 kB / 0.6866 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.7144, allocations: 0.7733 MB / 0.6874 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.7145, allocations: 2.938 kB / 0.6874 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7145, allocations: 2.906 kB / 0.6874 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.7145, allocations: 8.078 kB / 0.6874 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.7161, allocations: 1.409 MB / 0.6888 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.7161, allocations: 0 / 0.6888 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/0.717, allocations: 201.2 kB / 0.689 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.59e-05/0.7171, allocations: 25.03 kB / 0.689 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.7171, allocations: 18.09 kB / 0.689 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.7184, allocations: 2.687 MB / 0.6916 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7184, allocations: 0 / 0.6916 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.7195, allocations: 1.011 MB / 0.6926 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.7197, allocations: 210.6 kB / 0.6928 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.7198, allocations: 13.91 kB / 0.6929 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.7202, allocations: 27.64 kB / 0.6929 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.7203, allocations: 37.92 kB / 0.6929 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.7203, allocations: 25.53 kB / 0.6929 GB, free: 139 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003852/0.7207, allocations: 423.7 kB / 0.6933 GB, free: 138.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7207, allocations: 0 / 0.6933 GB, free: 138.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006999/0.7214, allocations: 224.9 kB / 0.6936 GB, free: 138.8 MB / 490.7 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.0004937/0.7219, allocations: 281.3 kB / 0.6938 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.7229, allocations: 0.5828 MB / 0.6944 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.723, allocations: 2.812 kB / 0.6944 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.7238, allocations: 461.3 kB / 0.6948 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.7254, allocations: 367.4 kB / 0.6952 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.7273, allocations: 1.69 MB / 0.6968 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.7276, allocations: 0.9423 MB / 0.6978 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005985/0.7282, allocations: 210.1 kB / 0.698 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.7283, allocations: 70.11 kB / 0.698 GB, free: 136.4 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7283, allocations: 3.938 kB / 0.698 GB, free: 136.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02248/0.7508, allocations: 14.82 MB / 0.7125 GB, free: 131.9 MB / 490.7 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches