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.001183/0.001183, allocations: 110.4 kB / 17.78 MB, free: 5.309 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.001086/0.001086, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.561/1.561, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2691/0.2691, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.88 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3584, allocations: 60.83 MB / 0.5189 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01173/0.3702, allocations: 8.328 MB / 0.527 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.3819, allocations: 11.08 MB / 0.5378 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.382, allocations: 0 / 0.5378 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3822, allocations: 44.56 kB / 0.5379 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.3876, allocations: 1.791 MB / 0.5396 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.103e-06/0.3877, allocations: 0 / 0.5396 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3878, allocations: 46.39 kB / 0.5397 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.3878, allocations: 2.625 kB / 0.5397 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.388, allocations: 36.97 kB / 0.5397 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.388, allocations: 10.69 kB / 0.5397 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.388, allocations: 5.156 kB / 0.5397 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.4003, allocations: 6.639 MB / 0.5462 GB, free: 184 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.4004, allocations: 3.984 kB / 0.5462 GB, free: 180 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.4005, allocations: 15.94 kB / 0.5462 GB, free: 164 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.4152, allocations: 4.62 MB / 0.5507 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4153, allocations: 0 / 0.5507 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4153, allocations: 0 / 0.5507 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.4153, allocations: 4 kB / 0.5507 GB, free: 11.53 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.003455/0.4188, allocations: 0.5537 MB / 0.5513 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.4189, allocations: 12.03 kB / 0.5513 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.419, allocations: 11.91 kB / 0.5513 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.4192, allocations: 167 kB / 0.5515 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4192, allocations: 4 kB / 0.5515 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4192, allocations: 4 kB / 0.5515 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.4194, allocations: 73.67 kB / 0.5515 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4195, allocations: 7.875 kB / 0.5516 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4195, allocations: 8 kB / 0.5516 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4195, allocations: 0 / 0.5516 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.4196, allocations: 75.97 kB / 0.5516 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.4202, allocations: 308.7 kB / 0.5519 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.515e-05/0.4203, allocations: 46.55 kB / 0.552 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.4204, allocations: 40.95 kB / 0.552 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003175/0.4236, allocations: 1.709 MB / 0.5537 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4236, allocations: 30.56 kB / 0.5537 GB, free: 8.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.4236, allocations: 4 kB / 0.5537 GB, free: 8.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004222/0.424, allocations: 109.6 kB / 0.5538 GB, free: 7.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4241, allocations: 55.39 kB / 0.5539 GB, free: 7.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.4242, allocations: 98.08 kB / 0.554 GB, free: 7.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4242, allocations: 25.7 kB / 0.554 GB, free: 7.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.4243, allocations: 84.05 kB / 0.5541 GB, free: 7.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.4243, allocations: 35.48 kB / 0.5541 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.4244, allocations: 21.84 kB / 0.5541 GB, free: 7.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4245, allocations: 322.8 kB / 0.5544 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.4246, allocations: 23.98 kB / 0.5545 GB, free: 7.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.4246, allocations: 33.7 kB / 0.5545 GB, free: 7.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.4247, allocations: 61.66 kB / 0.5545 GB, free: 7.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4247, allocations: 0 / 0.5545 GB, free: 7.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/0.4249, allocations: 93.62 kB / 0.5546 GB, free: 7.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.425, allocations: 12.02 kB / 0.5546 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.425, allocations: 4 kB / 0.5546 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.425, allocations: 0 / 0.5546 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.4251, allocations: 8 kB / 0.5547 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4251, allocations: 0 / 0.5547 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.4251, allocations: 7.844 kB / 0.5547 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4251, allocations: 4 kB / 0.5547 GB, free: 7.035 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 0.0001095/0.4253, allocations: 117.8 kB / 0.5548 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.4253, allocations: 0 / 0.5548 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.4256, allocations: 161.5 kB / 0.5549 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/0.4257, allocations: 117.7 kB / 0.555 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4257, allocations: 0 / 0.555 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.4258, allocations: 0 / 0.555 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.4262, allocations: 430.1 kB / 0.5555 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4263, allocations: 4 kB / 0.5555 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.4263, allocations: 12 kB / 0.5555 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4263, allocations: 0 / 0.5555 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4263, allocations: 16.17 kB / 0.5555 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4263, allocations: 4 kB / 0.5555 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.4264, allocations: 4 kB / 0.5555 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.4266, allocations: 219.4 kB / 0.5557 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.4266, allocations: 77.39 kB / 0.5558 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4267, allocations: 7.938 kB / 0.5558 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.4267, allocations: 0 / 0.5558 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.4267, allocations: 11.92 kB / 0.5558 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.4268, allocations: 12 kB / 0.5558 GB, free: 5.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.721e-05/0.4268, allocations: 75.28 kB / 0.5559 GB, free: 5.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4268, allocations: 0 / 0.5559 GB, free: 5.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002781/0.4296, allocations: 351.7 kB / 0.5562 GB, free: 5.336 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.01236/0.442, allocations: 3.699 MB / 0.5598 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.4423, allocations: 113.6 kB / 0.5599 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4423, allocations: 4.062 kB / 0.5599 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.4424, allocations: 55.92 kB / 0.56 GB, free: 1.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.4428, allocations: 40.22 kB / 0.56 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.4432, allocations: 200.9 kB / 0.5602 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4436, allocations: 0.6923 MB / 0.5609 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.4437, allocations: 19.86 kB / 0.5609 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.4437, allocations: 15.44 kB / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.4438, allocations: 0 / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of Templates: time 0.0247/0.4685, allocations: 18.01 MB / 0.5785 GB, free: 14.4 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