Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009668/0.0009671, allocations: 113.2 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.194/0.194, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3175, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01089/0.3284, allocations: 8.316 MB / 0.527 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.3408, allocations: 11.09 MB / 0.5378 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.3409, allocations: 5.344 kB / 0.5378 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.3411, allocations: 34.83 kB / 0.5379 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.3467, allocations: 1.786 MB / 0.5396 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.244e-06/0.3467, allocations: 1.031 kB / 0.5396 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3469, allocations: 53.53 kB / 0.5397 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3469, allocations: 6.062 kB / 0.5397 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3471, allocations: 29.02 kB / 0.5397 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.32e-05/0.3471, allocations: 15.83 kB / 0.5397 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3471, allocations: 1.062 kB / 0.5397 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.3593, allocations: 6.638 MB / 0.5462 GB, free: 0 / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.3593, allocations: 0 / 0.5462 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.3594, allocations: 15.98 kB / 0.5462 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.371, allocations: 4.627 MB / 0.5507 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.371, allocations: 0 / 0.5507 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.371, allocations: 4 kB / 0.5507 GB, free: 11.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3711, allocations: 0 / 0.5507 GB, free: 11.35 MB / 414.1 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.002197/0.3733, allocations: 0.5711 MB / 0.5513 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3733, allocations: 8.031 kB / 0.5513 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3734, allocations: 11.95 kB / 0.5513 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.898e-05/0.3735, allocations: 171 kB / 0.5515 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3735, allocations: 0 / 0.5515 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.3736, allocations: 4 kB / 0.5515 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3737, allocations: 81.66 kB / 0.5516 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3737, allocations: 7.938 kB / 0.5516 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3738, allocations: 0 / 0.5516 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3738, allocations: 0 / 0.5516 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3739, allocations: 75.97 kB / 0.5516 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3743, allocations: 320.6 kB / 0.552 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.601e-05/0.3744, allocations: 42.58 kB / 0.552 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.3744, allocations: 36.91 kB / 0.552 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002598/0.3771, allocations: 1.705 MB / 0.5537 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3771, allocations: 38.56 kB / 0.5537 GB, free: 7.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.3771, allocations: 0 / 0.5537 GB, free: 7.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002583/0.3774, allocations: 109.7 kB / 0.5538 GB, free: 7.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3774, allocations: 55.41 kB / 0.5539 GB, free: 7.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.3775, allocations: 93.84 kB / 0.554 GB, free: 7.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3775, allocations: 25.7 kB / 0.554 GB, free: 7.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.3775, allocations: 84.09 kB / 0.5541 GB, free: 7.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3776, allocations: 31.86 kB / 0.5541 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3776, allocations: 25.72 kB / 0.5541 GB, free: 7.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.3777, allocations: 318.8 kB / 0.5544 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.3777, allocations: 23.98 kB / 0.5545 GB, free: 7.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.3778, allocations: 37.64 kB / 0.5545 GB, free: 7.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.639e-05/0.3779, allocations: 62.03 kB / 0.5546 GB, free: 6.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3779, allocations: 4 kB / 0.5546 GB, free: 6.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001387/0.378, allocations: 93.62 kB / 0.5547 GB, free: 6.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3781, allocations: 8 kB / 0.5547 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3781, allocations: 3.984 kB / 0.5547 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3781, allocations: 0 / 0.5547 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.3781, allocations: 8 kB / 0.5547 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3782, allocations: 0 / 0.5547 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.3782, allocations: 15.83 kB / 0.5547 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3782, allocations: 0 / 0.5547 GB, free: 6.832 MB / 414.1 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 6.781e-05/0.3783, allocations: 125.8 kB / 0.5548 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.3783, allocations: 4 kB / 0.5548 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3785, allocations: 145.5 kB / 0.5549 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001274/0.3787, allocations: 125.6 kB / 0.5551 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3787, allocations: 0 / 0.5551 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3787, allocations: 0 / 0.5551 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.3791, allocations: 430.5 kB / 0.5555 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3791, allocations: 4 kB / 0.5555 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.3792, allocations: 16 kB / 0.5555 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3792, allocations: 0 / 0.5555 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3792, allocations: 7.938 kB / 0.5555 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3792, allocations: 3.984 kB / 0.5555 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3792, allocations: 0 / 0.5555 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.3794, allocations: 223.4 kB / 0.5557 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.3795, allocations: 81.09 kB / 0.5558 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3795, allocations: 11.94 kB / 0.5558 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.3795, allocations: 4 kB / 0.5558 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.3796, allocations: 7.984 kB / 0.5558 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3796, allocations: 0 / 0.5558 GB, free: 5.555 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.3796, allocations: 83.28 kB / 0.5559 GB, free: 5.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3796, allocations: 0 / 0.5559 GB, free: 5.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001533/0.3812, allocations: 347 kB / 0.5562 GB, free: 5.133 MB / 414.1 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.01069/0.3918, allocations: 3.718 MB / 0.5599 GB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3921, allocations: 109.7 kB / 0.56 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3921, allocations: 0 / 0.56 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.3922, allocations: 55.92 kB / 0.56 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3926, allocations: 40.02 kB / 0.5601 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.393, allocations: 212.8 kB / 0.5603 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.3932, allocations: 0.6924 MB / 0.5609 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.655e-05/0.3933, allocations: 16.06 kB / 0.561 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3933, allocations: 11.44 kB / 0.561 GB, free: 216 kB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3933, allocations: 8 kB / 0.561 GB, free: 208 kB / 414.1 MB Notification: Performance of Templates: time 0.02275/0.4161, allocations: 17.97 MB / 0.5785 GB, free: 14.2 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches