Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 175.1 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.7 MB / 243.9 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 101 kB / 295.1 MB, free: 9.719 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3135/0.3135, allocations: 44.32 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004629, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.336, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1491/0.4851, allocations: 140.5 MB / 0.65 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.4874, allocations: 2.201 MB / 0.6521 GB, free: 14.16 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.4874, allocations: 0 / 0.6521 GB, free: 14.16 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.4877, allocations: 47.86 kB / 0.6522 GB, free: 14.11 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.49, allocations: 0.8546 MB / 0.653 GB, free: 13.26 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.49, allocations: 4 kB / 0.653 GB, free: 13.25 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.4902, allocations: 107.6 kB / 0.6531 GB, free: 13.15 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.4902, allocations: 0 / 0.6531 GB, free: 13.15 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.4903, allocations: 15.94 kB / 0.6531 GB, free: 13.13 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.4903, allocations: 35.84 kB / 0.6532 GB, free: 13.1 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.4904, allocations: 0 / 0.6532 GB, free: 13.1 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.4931, allocations: 1.821 MB / 0.6549 GB, free: 11.27 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.4932, allocations: 7.984 kB / 0.655 GB, free: 11.27 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.4932, allocations: 41.64 kB / 0.655 GB, free: 11.22 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.4946, allocations: 0.9316 MB / 0.6559 GB, free: 10.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4946, allocations: 0 / 0.6559 GB, free: 10.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4946, allocations: 0 / 0.6559 GB, free: 10.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.4946, allocations: 0 / 0.6559 GB, free: 10.29 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.0006294/0.4953, allocations: 479.2 kB / 0.6564 GB, free: 9.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4953, allocations: 12.03 kB / 0.6564 GB, free: 9.758 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.4954, allocations: 12.84 kB / 0.6564 GB, free: 9.746 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.4955, allocations: 167.6 kB / 0.6565 GB, free: 9.543 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4955, allocations: 4 kB / 0.6565 GB, free: 9.539 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.4955, allocations: 7.938 kB / 0.6566 GB, free: 9.531 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.4957, allocations: 73.61 kB / 0.6566 GB, free: 9.453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4957, allocations: 0 / 0.6566 GB, free: 9.453 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.4957, allocations: 3.938 kB / 0.6566 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4957, allocations: 4 kB / 0.6566 GB, free: 9.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.4958, allocations: 47.97 kB / 0.6567 GB, free: 9.398 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.4962, allocations: 316.6 kB / 0.657 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/0.4963, allocations: 26.58 kB / 0.657 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.4963, allocations: 20.94 kB / 0.657 GB, free: 8.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.4965, allocations: 247.3 kB / 0.6573 GB, free: 8.684 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4966, allocations: 42.5 kB / 0.6573 GB, free: 8.633 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4966, allocations: 4 kB / 0.6573 GB, free: 8.629 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001653/0.4968, allocations: 57.61 kB / 0.6574 GB, free: 8.566 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.4968, allocations: 51.41 kB / 0.6574 GB, free: 8.504 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.4969, allocations: 106 kB / 0.6575 GB, free: 8.391 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4969, allocations: 25.7 kB / 0.6575 GB, free: 8.359 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.497, allocations: 99.88 kB / 0.6576 GB, free: 8.258 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.497, allocations: 11.81 kB / 0.6576 GB, free: 8.246 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.497, allocations: 0 / 0.6576 GB, free: 8.246 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4971, allocations: 314.8 kB / 0.6579 GB, free: 7.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.4971, allocations: 11.98 kB / 0.658 GB, free: 7.918 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.4972, allocations: 31.44 kB / 0.658 GB, free: 7.875 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.4973, allocations: 51.36 kB / 0.658 GB, free: 7.812 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4973, allocations: 0 / 0.658 GB, free: 7.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.4974, allocations: 81.48 kB / 0.6581 GB, free: 7.727 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4974, allocations: 8 kB / 0.6581 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.4974, allocations: 0 / 0.6581 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4974, allocations: 0 / 0.6581 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.4975, allocations: 12 kB / 0.6581 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4975, allocations: 0 / 0.6581 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.4976, allocations: 4.109 kB / 0.6581 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4976, allocations: 11.94 kB / 0.6581 GB, free: 7.691 MB / 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 8.721e-05/0.4977, allocations: 126.4 kB / 0.6583 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.4977, allocations: 7.844 kB / 0.6583 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.4979, allocations: 73.19 kB / 0.6583 GB, free: 7.477 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4979, allocations: 0 / 0.6583 GB, free: 7.477 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4979, allocations: 4 kB / 0.6583 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4979, allocations: 0 / 0.6583 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4981, allocations: 169.7 kB / 0.6585 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4981, allocations: 0 / 0.6585 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.4981, allocations: 7.938 kB / 0.6585 GB, free: 7.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4981, allocations: 4 kB / 0.6585 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4981, allocations: 3.984 kB / 0.6585 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4981, allocations: 0 / 0.6585 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4981, allocations: 0 / 0.6585 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.4983, allocations: 147.5 kB / 0.6587 GB, free: 7.082 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.4983, allocations: 84.95 kB / 0.6587 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.4983, allocations: 4 kB / 0.6587 GB, free: 6.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.4984, allocations: 4 kB / 0.6588 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.4984, allocations: 3.984 kB / 0.6588 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.4984, allocations: 4 kB / 0.6588 GB, free: 6.965 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.4984, allocations: 79.28 kB / 0.6588 GB, free: 6.887 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4985, allocations: 0 / 0.6588 GB, free: 6.887 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.4989, allocations: 139.8 kB / 0.659 GB, free: 6.75 MB / 474.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.0007363/0.4996, allocations: 330.2 kB / 0.6593 GB, free: 6.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.195e-05/0.4997, allocations: 31.92 kB / 0.6593 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4998, allocations: 0 / 0.6593 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.4998, allocations: 11.98 kB / 0.6593 GB, free: 6.387 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.5, allocations: 7.938 kB / 0.6593 GB, free: 6.379 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.5003, allocations: 168.7 kB / 0.6595 GB, free: 6.184 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.5005, allocations: 0.6848 MB / 0.6602 GB, free: 5.473 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.69e-05/0.5006, allocations: 15.94 kB / 0.6602 GB, free: 5.457 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.5006, allocations: 11.44 kB / 0.6602 GB, free: 5.445 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5006, allocations: 0 / 0.6602 GB, free: 5.445 MB / 474.7 MB Notification: Performance of Templates: time 0.006007/0.5066, allocations: 3.262 MB / 0.6634 GB, free: 2.184 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches