Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 200.1 kB / 17.43 MB, free: 4.242 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000772/0.0007719, allocations: 94.16 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3222/0.3222, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3, allocations: 63.1 MB / 0.5214 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1482/0.4483, allocations: 141 MB / 0.659 GB, free: 9.176 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.4505, allocations: 2.204 MB / 0.6612 GB, free: 6.766 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.4506, allocations: 0 / 0.6612 GB, free: 6.766 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.4509, allocations: 43.8 kB / 0.6612 GB, free: 6.723 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.4535, allocations: 0.8507 MB / 0.6621 GB, free: 5.871 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.439e-06/0.4536, allocations: 0 / 0.6621 GB, free: 5.871 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.4537, allocations: 103.6 kB / 0.6622 GB, free: 5.77 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.4537, allocations: 4 kB / 0.6622 GB, free: 5.766 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.4538, allocations: 11.94 kB / 0.6622 GB, free: 5.754 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.4539, allocations: 27.91 kB / 0.6622 GB, free: 5.727 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-06/0.4539, allocations: 0 / 0.6622 GB, free: 5.727 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.4567, allocations: 1.86 MB / 0.664 GB, free: 3.863 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.4567, allocations: 11.98 kB / 0.664 GB, free: 3.852 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.4568, allocations: 41.58 kB / 0.6641 GB, free: 3.805 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.4581, allocations: 0.955 MB / 0.665 GB, free: 2.848 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4581, allocations: 0 / 0.665 GB, free: 2.848 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4582, allocations: 0 / 0.665 GB, free: 2.848 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.4582, allocations: 0 / 0.665 GB, free: 2.848 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006149/0.4588, allocations: 487.2 kB / 0.6655 GB, free: 2.324 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4588, allocations: 12.03 kB / 0.6655 GB, free: 2.312 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.4589, allocations: 4.844 kB / 0.6655 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.459, allocations: 167.6 kB / 0.6656 GB, free: 2.105 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.459, allocations: 4 kB / 0.6656 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.459, allocations: 8 kB / 0.6657 GB, free: 2.094 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.4591, allocations: 73.59 kB / 0.6657 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4591, allocations: 0 / 0.6657 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4592, allocations: 4 kB / 0.6657 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.4592, allocations: 4 kB / 0.6657 GB, free: 2.008 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.914e-05/0.4593, allocations: 55.97 kB / 0.6658 GB, free: 1.953 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.4597, allocations: 304.6 kB / 0.6661 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/0.4597, allocations: 26.58 kB / 0.6661 GB, free: 1.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.4598, allocations: 16.94 kB / 0.6661 GB, free: 1.551 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.46, allocations: 255.3 kB / 0.6664 GB, free: 1.246 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.46, allocations: 38.5 kB / 0.6664 GB, free: 1.199 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.46, allocations: 0 / 0.6664 GB, free: 1.199 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001557/0.4602, allocations: 61.61 kB / 0.6665 GB, free: 1.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.4602, allocations: 55.45 kB / 0.6665 GB, free: 1.066 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.4603, allocations: 105.8 kB / 0.6666 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.4603, allocations: 25.7 kB / 0.6666 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.4604, allocations: 95.88 kB / 0.6667 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.4604, allocations: 15.81 kB / 0.6667 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.4604, allocations: 4 kB / 0.6667 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.4605, allocations: 310.8 kB / 0.667 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.4605, allocations: 15.97 kB / 0.6671 GB, free: 488 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.4606, allocations: 27.44 kB / 0.6671 GB, free: 448 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.4606, allocations: 55.36 kB / 0.6671 GB, free: 380 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4606, allocations: 0 / 0.6671 GB, free: 380 kB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.632e-05/0.4607, allocations: 73.92 kB / 0.6672 GB, free: 300 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4608, allocations: 8 kB / 0.6672 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4608, allocations: 0 / 0.6672 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4608, allocations: 4.031 kB / 0.6672 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.4609, allocations: 19.94 kB / 0.6672 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4609, allocations: 0 / 0.6672 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.4609, allocations: 12.03 kB / 0.6672 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.4609, allocations: 4 kB / 0.6672 GB, free: 252 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.662e-05/0.461, allocations: 117.8 kB / 0.6674 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.4611, allocations: 7.844 kB / 0.6674 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.4612, allocations: 69.25 kB / 0.6674 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4612, allocations: 4 kB / 0.6674 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4612, allocations: 4 kB / 0.6674 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4612, allocations: 0 / 0.6674 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.4614, allocations: 157.7 kB / 0.6676 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4614, allocations: 0 / 0.6676 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.4614, allocations: 11.94 kB / 0.6676 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4614, allocations: 0 / 0.6676 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4615, allocations: 7.984 kB / 0.6676 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4615, allocations: 0 / 0.6676 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4615, allocations: 0 / 0.6676 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.4616, allocations: 151.4 kB / 0.6678 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.4616, allocations: 84.95 kB / 0.6678 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4616, allocations: 8 kB / 0.6678 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.4617, allocations: 4 kB / 0.6678 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.4617, allocations: 3.984 kB / 0.6679 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-06/0.4617, allocations: 7.938 kB / 0.6679 GB, free: 15.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.4618, allocations: 75.28 kB / 0.6679 GB, free: 15.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4618, allocations: 0 / 0.6679 GB, free: 15.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003996/0.4622, allocations: 143.8 kB / 0.6681 GB, free: 15.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007177/0.4629, allocations: 336.1 kB / 0.6684 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.463, allocations: 35.92 kB / 0.6684 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.463, allocations: 0 / 0.6684 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.463, allocations: 8 kB / 0.6684 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.4633, allocations: 27.95 kB / 0.6685 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.4635, allocations: 172.3 kB / 0.6686 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.4638, allocations: 0.677 MB / 0.6693 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.503e-05/0.4639, allocations: 15.98 kB / 0.6693 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.4639, allocations: 11.44 kB / 0.6693 GB, free: 13.98 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4639, allocations: 0 / 0.6693 GB, free: 13.98 MB / 490.7 MB Notification: Performance of Templates: time 0.005842/0.4698, allocations: 3.348 MB / 0.6726 GB, free: 10.63 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches