Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008488/0.0008488, allocations: 178.2 kB / 17.41 MB, free: 4.41 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.301/1.301, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.000813/0.0008132, allocations: 89.17 kB / 295 MB, free: 9.48 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.3479/0.3479, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 12 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3198, allocations: 61.9 MB / 0.5127 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.007952/0.3278, allocations: 7.743 MB / 0.5203 GB, free: 33.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3382, allocations: 13.82 MB / 0.5338 GB, free: 22.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.3383, allocations: 0 / 0.5338 GB, free: 22.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.3385, allocations: 37.81 kB / 0.5338 GB, free: 22.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.3424, allocations: 1.474 MB / 0.5353 GB, free: 21.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.3424, allocations: 0 / 0.5353 GB, free: 21.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.633e-05/0.3425, allocations: 42.28 kB / 0.5353 GB, free: 21.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.3425, allocations: 3.062 kB / 0.5353 GB, free: 21.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3426, allocations: 26.81 kB / 0.5353 GB, free: 21.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.3427, allocations: 24.11 kB / 0.5354 GB, free: 21.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.3427, allocations: 0 / 0.5354 GB, free: 21.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02154/0.3642, allocations: 15.68 MB / 0.5507 GB, free: 17.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.3643, allocations: 13.47 kB / 0.5507 GB, free: 17.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.3644, allocations: 36.98 kB / 0.5507 GB, free: 17.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02359/0.388, allocations: 8.147 MB / 0.5587 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.388, allocations: 1.062 kB / 0.5587 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.388, allocations: 0 / 0.5587 GB, free: 13.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.388, allocations: 0 / 0.5587 GB, free: 13.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.004783/0.3928, allocations: 0.5421 MB / 0.5592 GB, free: 13.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3929, allocations: 13.48 kB / 0.5592 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.393, allocations: 13.53 kB / 0.5592 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.542e-05/0.393, allocations: 172.4 kB / 0.5594 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.3931, allocations: 4.938 kB / 0.5594 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3931, allocations: 2.594 kB / 0.5594 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3932, allocations: 76.95 kB / 0.5595 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3932, allocations: 0 / 0.5595 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3933, allocations: 0.9688 kB / 0.5595 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3933, allocations: 5.016 kB / 0.5595 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.3934, allocations: 70.38 kB / 0.5595 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.3937, allocations: 322.8 kB / 0.5599 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.3938, allocations: 48.55 kB / 0.5599 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.3938, allocations: 33.06 kB / 0.5599 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.3962, allocations: 1.691 MB / 0.5616 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3963, allocations: 34.56 kB / 0.5616 GB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3963, allocations: 0 / 0.5616 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002213/0.3965, allocations: 113.7 kB / 0.5617 GB, free: 10.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.3965, allocations: 51.41 kB / 0.5618 GB, free: 10.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.789e-05/0.3966, allocations: 101.8 kB / 0.5619 GB, free: 10.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3966, allocations: 33.83 kB / 0.5619 GB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.3966, allocations: 87.98 kB / 0.562 GB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.3966, allocations: 27.56 kB / 0.562 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.3966, allocations: 0 / 0.562 GB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.3967, allocations: 314.8 kB / 0.5623 GB, free: 9.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.3967, allocations: 23.94 kB / 0.5623 GB, free: 9.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.3968, allocations: 37.7 kB / 0.5624 GB, free: 9.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.64e-05/0.3968, allocations: 65.7 kB / 0.5624 GB, free: 9.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3968, allocations: 0 / 0.5624 GB, free: 9.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000118/0.397, allocations: 89.62 kB / 0.5625 GB, free: 9.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.397, allocations: 4 kB / 0.5625 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.397, allocations: 0 / 0.5625 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.397, allocations: 4 kB / 0.5625 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.3971, allocations: 12.31 kB / 0.5625 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3971, allocations: 4.125 kB / 0.5625 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.3971, allocations: 4 kB / 0.5625 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3971, allocations: 8.031 kB / 0.5626 GB, free: 9.617 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.35e-05/0.3972, allocations: 118.3 kB / 0.5627 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.3972, allocations: 7.906 kB / 0.5627 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3974, allocations: 141.6 kB / 0.5628 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/0.3976, allocations: 117.6 kB / 0.5629 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3976, allocations: 3.938 kB / 0.5629 GB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3976, allocations: 0 / 0.5629 GB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.3979, allocations: 438.3 kB / 0.5633 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3979, allocations: 96 / 0.5633 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.398, allocations: 27.86 kB / 0.5634 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.398, allocations: 0 / 0.5634 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.398, allocations: 0 / 0.5634 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.398, allocations: 0 / 0.5634 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.398, allocations: 4 kB / 0.5634 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.3982, allocations: 223.4 kB / 0.5636 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.3982, allocations: 85.05 kB / 0.5637 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3982, allocations: 0 / 0.5637 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.3983, allocations: 3.984 kB / 0.5637 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.3983, allocations: 11.94 kB / 0.5637 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3983, allocations: 4 kB / 0.5637 GB, free: 8.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.348e-05/0.3983, allocations: 75.28 kB / 0.5638 GB, free: 8.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3983, allocations: 4.094 kB / 0.5638 GB, free: 8.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003267/0.4016, allocations: 343.8 kB / 0.5641 GB, free: 7.93 MB / 378.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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0191/0.4207, allocations: 3.719 MB / 0.5677 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.421, allocations: 117.5 kB / 0.5678 GB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.421, allocations: 0 / 0.5678 GB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.4211, allocations: 56.02 kB / 0.5679 GB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.4216, allocations: 44.67 kB / 0.5679 GB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.422, allocations: 248.3 kB / 0.5682 GB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.4221, allocations: 0.6965 MB / 0.5688 GB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.4222, allocations: 12.12 kB / 0.5689 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.4222, allocations: 15.44 kB / 0.5689 GB, free: 2.953 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4222, allocations: 0 / 0.5689 GB, free: 2.953 MB / 378.7 MB Notification: Performance of Templates: time 0.0282/0.4504, allocations: 17.85 MB / 0.5863 GB, free: 1.07 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches