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.001236/0.001236, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001224/0.001224, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.263/1.263, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1954/0.1954, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2951, allocations: 60.82 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01021/0.3054, allocations: 8.321 MB / 0.5277 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.3166, allocations: 11.09 MB / 0.5385 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.3167, allocations: 0 / 0.5385 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.3169, allocations: 44.56 kB / 0.5385 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.3218, allocations: 1.795 MB / 0.5403 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.933e-06/0.3219, allocations: 0 / 0.5403 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.322, allocations: 49.7 kB / 0.5403 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.322, allocations: 2.281 kB / 0.5403 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3221, allocations: 25.28 kB / 0.5404 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.3222, allocations: 20.44 kB / 0.5404 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.3222, allocations: 4 kB / 0.5404 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.333, allocations: 6.635 MB / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.333, allocations: 7.938 kB / 0.5469 GB, free: 16 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.3331, allocations: 15.92 kB / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.346, allocations: 4.624 MB / 0.5514 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3461, allocations: 0 / 0.5514 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3461, allocations: 0 / 0.5514 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3461, allocations: 0 / 0.5514 GB, free: 11.37 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.002279/0.3484, allocations: 0.5537 MB / 0.5519 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3484, allocations: 16.03 kB / 0.552 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.3486, allocations: 7.906 kB / 0.552 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.3487, allocations: 163.1 kB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3487, allocations: 8 kB / 0.5521 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3487, allocations: 0 / 0.5521 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3488, allocations: 81.61 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3489, allocations: 7.875 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3489, allocations: 4 kB / 0.5522 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3489, allocations: 4 kB / 0.5522 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.349, allocations: 67.97 kB / 0.5523 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.3494, allocations: 320.7 kB / 0.5526 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/0.3495, allocations: 38.58 kB / 0.5526 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.3495, allocations: 44.94 kB / 0.5527 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002822/0.3524, allocations: 1.709 MB / 0.5543 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3524, allocations: 30.56 kB / 0.5544 GB, free: 7.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3524, allocations: 0 / 0.5544 GB, free: 7.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000263/0.3527, allocations: 105.6 kB / 0.5545 GB, free: 7.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.3527, allocations: 55.41 kB / 0.5545 GB, free: 7.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.3528, allocations: 97.84 kB / 0.5546 GB, free: 7.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3528, allocations: 29.7 kB / 0.5546 GB, free: 7.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.3529, allocations: 88.03 kB / 0.5547 GB, free: 7.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.3529, allocations: 27.56 kB / 0.5548 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.3529, allocations: 25.7 kB / 0.5548 GB, free: 7.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.353, allocations: 314.8 kB / 0.5551 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/0.3531, allocations: 28.11 kB / 0.5551 GB, free: 7.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.3531, allocations: 41.92 kB / 0.5551 GB, free: 7.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.3532, allocations: 61.66 kB / 0.5552 GB, free: 7.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3532, allocations: 0 / 0.5552 GB, free: 7.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000151/0.3534, allocations: 89.62 kB / 0.5553 GB, free: 6.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3534, allocations: 6.812 kB / 0.5553 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3534, allocations: 4 kB / 0.5553 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3534, allocations: 4.031 kB / 0.5553 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.3535, allocations: 11.98 kB / 0.5553 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3535, allocations: 0 / 0.5553 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.3535, allocations: 7.844 kB / 0.5553 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3536, allocations: 8 kB / 0.5553 GB, free: 6.871 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 7.193e-05/0.3536, allocations: 113.8 kB / 0.5554 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.3537, allocations: 0 / 0.5554 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3539, allocations: 157.5 kB / 0.5556 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001301/0.3541, allocations: 117.7 kB / 0.5557 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3541, allocations: 0 / 0.5557 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3541, allocations: 7.969 kB / 0.5557 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3545, allocations: 430.1 kB / 0.5561 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3545, allocations: 0 / 0.5561 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.3546, allocations: 20 kB / 0.5561 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3546, allocations: 0 / 0.5561 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.3546, allocations: 3.938 kB / 0.5561 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3546, allocations: 0 / 0.5561 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3546, allocations: 4 kB / 0.5561 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3548, allocations: 223.4 kB / 0.5564 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.3549, allocations: 81.36 kB / 0.5564 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3549, allocations: 3.938 kB / 0.5564 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.3549, allocations: 4 kB / 0.5564 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.355, allocations: 11.98 kB / 0.5565 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.355, allocations: 4 kB / 0.5565 GB, free: 5.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.355, allocations: 79.28 kB / 0.5565 GB, free: 5.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.355, allocations: 0 / 0.5565 GB, free: 5.523 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001795/0.3568, allocations: 351.7 kB / 0.5569 GB, free: 5.18 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.01127/0.3681, allocations: 3.703 MB / 0.5605 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.3684, allocations: 117.4 kB / 0.5606 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3684, allocations: 0 / 0.5606 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.3685, allocations: 55.92 kB / 0.5607 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3689, allocations: 40.02 kB / 0.5607 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.3693, allocations: 226.6 kB / 0.5609 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3696, allocations: 0.6964 MB / 0.5616 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.3696, allocations: 15.44 kB / 0.5616 GB, free: 264 kB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3696, allocations: 7.875 kB / 0.5616 GB, free: 256 kB / 414.1 MB Notification: Performance of Templates: time 0.02155/0.3912, allocations: 19.19 MB / 0.5804 GB, free: 13.03 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