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.001253/0.001253, allocations: 108.7 kB / 18.45 MB, free: 4.621 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.001261/0.001261, allocations: 183.1 kB / 19.38 MB, free: 3.699 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.25/1.25, allocations: 222.9 MB / 243.1 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.1949/0.1949, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3156, allocations: 60.81 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01059/0.3262, allocations: 8.324 MB / 0.5277 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.3376, allocations: 11.1 MB / 0.5385 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.3377, allocations: 0 / 0.5385 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.3379, allocations: 39.11 kB / 0.5385 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.3426, allocations: 1.786 MB / 0.5403 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.601e-06/0.3427, allocations: 0 / 0.5403 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3428, allocations: 57.78 kB / 0.5403 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.3428, allocations: 3.281 kB / 0.5403 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.3429, allocations: 28.95 kB / 0.5404 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.343, allocations: 15.67 kB / 0.5404 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.343, allocations: 0 / 0.5404 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.3535, allocations: 6.639 MB / 0.5469 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.3536, allocations: 0 / 0.5469 GB, free: 72 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.3536, allocations: 19.88 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.3667, allocations: 4.616 MB / 0.5514 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3667, allocations: 4 kB / 0.5514 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3667, allocations: 0 / 0.5514 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3667, allocations: 4 kB / 0.5514 GB, free: 11.42 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.002375/0.3691, allocations: 0.5537 MB / 0.5519 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3692, allocations: 11.97 kB / 0.552 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.3693, allocations: 11.91 kB / 0.552 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.082e-05/0.3694, allocations: 171 kB / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3694, allocations: 0 / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3694, allocations: 4 kB / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3696, allocations: 77.61 kB / 0.5522 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3696, allocations: 11.94 kB / 0.5522 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3696, allocations: 0 / 0.5522 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3696, allocations: 0 / 0.5522 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3697, allocations: 79.91 kB / 0.5523 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.3701, allocations: 316.7 kB / 0.5526 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.3702, allocations: 38.58 kB / 0.5526 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.3703, allocations: 40.91 kB / 0.5527 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/0.373, allocations: 1.705 MB / 0.5543 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3731, allocations: 34.66 kB / 0.5544 GB, free: 7.977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3731, allocations: 7.938 kB / 0.5544 GB, free: 7.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002603/0.3733, allocations: 101.7 kB / 0.5545 GB, free: 7.863 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3734, allocations: 55.41 kB / 0.5545 GB, free: 7.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.3734, allocations: 93.84 kB / 0.5546 GB, free: 7.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3735, allocations: 29.64 kB / 0.5546 GB, free: 7.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.3735, allocations: 84.05 kB / 0.5547 GB, free: 7.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3735, allocations: 31.55 kB / 0.5548 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.3736, allocations: 25.84 kB / 0.5548 GB, free: 7.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.3737, allocations: 318.8 kB / 0.5551 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.3737, allocations: 23.98 kB / 0.5551 GB, free: 7.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.3738, allocations: 33.7 kB / 0.5551 GB, free: 7.129 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.3739, allocations: 62.03 kB / 0.5552 GB, free: 7.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3739, allocations: 3.938 kB / 0.5552 GB, free: 7.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001575/0.374, allocations: 97.62 kB / 0.5553 GB, free: 6.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3741, allocations: 8 kB / 0.5553 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3741, allocations: 0 / 0.5553 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3741, allocations: 3.984 kB / 0.5553 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.3742, allocations: 8.188 kB / 0.5553 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3742, allocations: 0 / 0.5553 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.3742, allocations: 15.84 kB / 0.5553 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3742, allocations: 0 / 0.5553 GB, free: 6.922 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.762e-05/0.3743, allocations: 117.8 kB / 0.5554 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3743, allocations: 8.031 kB / 0.5555 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.3746, allocations: 149.4 kB / 0.5556 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001237/0.3747, allocations: 117.7 kB / 0.5557 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3747, allocations: 0 / 0.5557 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3747, allocations: 3.984 kB / 0.5557 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.3752, allocations: 434.2 kB / 0.5561 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3752, allocations: 0 / 0.5561 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.3752, allocations: 15.94 kB / 0.5561 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3753, allocations: 4 kB / 0.5561 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3753, allocations: 3.938 kB / 0.5561 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3753, allocations: 4 kB / 0.5562 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3753, allocations: 0 / 0.5562 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3755, allocations: 219.4 kB / 0.5564 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.3755, allocations: 81.09 kB / 0.5564 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3756, allocations: 11.88 kB / 0.5564 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.148e-05/0.3756, allocations: 4 kB / 0.5565 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.3757, allocations: 11.98 kB / 0.5565 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3757, allocations: 0 / 0.5565 GB, free: 5.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.3757, allocations: 83.28 kB / 0.5565 GB, free: 5.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3757, allocations: 0 / 0.5565 GB, free: 5.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001775/0.3775, allocations: 347.7 kB / 0.5569 GB, free: 5.227 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.01144/0.3889, allocations: 3.703 MB / 0.5605 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.3893, allocations: 121.7 kB / 0.5606 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3893, allocations: 0 / 0.5606 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.717e-05/0.3893, allocations: 51.98 kB / 0.5607 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3898, allocations: 31.95 kB / 0.5607 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.3902, allocations: 234.5 kB / 0.5609 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3904, allocations: 0.6924 MB / 0.5616 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.3905, allocations: 19.38 kB / 0.5616 GB, free: 308 kB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3905, allocations: 0 / 0.5616 GB, free: 308 kB / 414.1 MB Notification: Performance of Templates: time 0.02142/0.4119, allocations: 19.2 MB / 0.5804 GB, free: 13.07 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