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.001647/0.001647, allocations: 112.9 kB / 18.45 MB, free: 4.594 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.00172/0.001721, allocations: 183 kB / 19.39 MB, free: 3.672 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.45/1.45, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2006/0.2006, allocations: 44.19 MB / 337.4 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01017/0.3038, allocations: 8.323 MB / 0.5277 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.316, allocations: 11.09 MB / 0.5385 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.3161, allocations: 0 / 0.5385 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.3164, allocations: 41.14 kB / 0.5385 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005835/0.3223, allocations: 1.822 MB / 0.5403 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.927e-06/0.3223, allocations: 0 / 0.5403 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3224, allocations: 50.39 kB / 0.5404 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.3225, allocations: 2.188 kB / 0.5404 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.3226, allocations: 32.56 kB / 0.5404 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.3227, allocations: 19.77 kB / 0.5404 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.3227, allocations: 5.031 kB / 0.5404 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01115/0.3339, allocations: 6.631 MB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.3339, allocations: 7.984 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.334, allocations: 11.94 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.3459, allocations: 4.627 MB / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.346, allocations: 0 / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.346, allocations: 0 / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.346, allocations: 4 kB / 0.5515 GB, free: 11.33 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.002633/0.3487, allocations: 0.5673 MB / 0.552 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3487, allocations: 12.03 kB / 0.552 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.3488, allocations: 11.94 kB / 0.552 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3489, allocations: 167 kB / 0.5522 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.349, allocations: 4 kB / 0.5522 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.349, allocations: 0 / 0.5522 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3492, allocations: 81.61 kB / 0.5523 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3492, allocations: 3.938 kB / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3492, allocations: 4 kB / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3492, allocations: 4 kB / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.3493, allocations: 71.95 kB / 0.5523 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.3497, allocations: 316.7 kB / 0.5527 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.3498, allocations: 50.5 kB / 0.5527 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.3499, allocations: 32.92 kB / 0.5527 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002953/0.3529, allocations: 1.708 MB / 0.5544 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3529, allocations: 34.56 kB / 0.5544 GB, free: 7.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.3529, allocations: 0 / 0.5544 GB, free: 7.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002978/0.3532, allocations: 113.7 kB / 0.5545 GB, free: 7.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.3532, allocations: 51.41 kB / 0.5546 GB, free: 7.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.3533, allocations: 97.86 kB / 0.5547 GB, free: 7.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3533, allocations: 25.7 kB / 0.5547 GB, free: 7.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.3534, allocations: 84.09 kB / 0.5548 GB, free: 7.469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3534, allocations: 31.73 kB / 0.5548 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.3535, allocations: 25.84 kB / 0.5548 GB, free: 7.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3536, allocations: 318.8 kB / 0.5551 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.3537, allocations: 16.28 kB / 0.5552 GB, free: 7.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.3537, allocations: 45.64 kB / 0.5552 GB, free: 7.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.036e-05/0.3538, allocations: 65.77 kB / 0.5553 GB, free: 6.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3538, allocations: 4 kB / 0.5553 GB, free: 6.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.354, allocations: 93.62 kB / 0.5554 GB, free: 6.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.354, allocations: 4 kB / 0.5554 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.354, allocations: 0 / 0.5554 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.354, allocations: 4 kB / 0.5554 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.3541, allocations: 8 kB / 0.5554 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3541, allocations: 0 / 0.5554 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.3542, allocations: 11.89 kB / 0.5554 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3542, allocations: 7.984 kB / 0.5554 GB, free: 6.812 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 8.237e-05/0.3543, allocations: 121.7 kB / 0.5555 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.3543, allocations: 4.031 kB / 0.5555 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.3546, allocations: 153.6 kB / 0.5557 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3546, allocations: 0 / 0.5557 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3546, allocations: 0 / 0.5557 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.3546, allocations: 81.11 kB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3547, allocations: 0 / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.3547, allocations: 3.938 kB / 0.5557 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.3548, allocations: 7.984 kB / 0.5558 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001989/0.355, allocations: 208.8 kB / 0.5559 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002719/0.3553, allocations: 298.8 kB / 0.5562 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.026e-05/0.3553, allocations: 55.98 kB / 0.5563 GB, free: 5.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.59e-05/0.3554, allocations: 79.28 kB / 0.5564 GB, free: 5.762 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.3554, allocations: 0 / 0.5564 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0189/0.3743, allocations: 5.021 MB / 0.5613 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006185/0.375, allocations: 0.6674 MB / 0.5619 GB, free: 15.99 MB / 430.1 MB Notification: Performance of Templates: time 0.02735/0.4023, allocations: 18.57 MB / 0.5801 GB, free: 13.39 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/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