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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 195.9 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.693/1.693, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2798/0.2798, allocations: 44.9 MB / 351.6 MB, free: 12.2 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 59.89 kB / 495.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 64.26 MB / 0.5464 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01313/0.3581, allocations: 8.389 MB / 0.5546 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3718, allocations: 11.19 MB / 0.5655 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.3719, allocations: 0 / 0.5655 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.3721, allocations: 47.78 kB / 0.5655 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.3775, allocations: 1.808 MB / 0.5673 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.095e-06/0.3775, allocations: 0 / 0.5673 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.3777, allocations: 47.61 kB / 0.5673 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.3777, allocations: 8 kB / 0.5674 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3778, allocations: 31.84 kB / 0.5674 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.3779, allocations: 15.94 kB / 0.5674 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.3779, allocations: 0 / 0.5674 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.3885, allocations: 6.662 MB / 0.5739 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.3885, allocations: 7.922 kB / 0.5739 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.3886, allocations: 19.92 kB / 0.5739 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.4008, allocations: 4.623 MB / 0.5784 GB, free: 14.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4008, allocations: 0 / 0.5784 GB, free: 14.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4008, allocations: 0 / 0.5784 GB, free: 14.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4008, allocations: 8 kB / 0.5785 GB, free: 14.89 MB / 430.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.002659/0.4035, allocations: 0.5634 MB / 0.579 GB, free: 14.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4035, allocations: 8.031 kB / 0.579 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4037, allocations: 15.94 kB / 0.579 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4038, allocations: 163.1 kB / 0.5792 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.4038, allocations: 4 kB / 0.5792 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.4038, allocations: 4 kB / 0.5792 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.404, allocations: 77.66 kB / 0.5793 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.404, allocations: 3.938 kB / 0.5793 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.404, allocations: 8 kB / 0.5793 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.404, allocations: 0 / 0.5793 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4041, allocations: 79.89 kB / 0.5794 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.4046, allocations: 316.7 kB / 0.5797 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.4047, allocations: 42.61 kB / 0.5797 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.4047, allocations: 24.86 kB / 0.5797 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00316/0.4079, allocations: 1.705 MB / 0.5814 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.4079, allocations: 38.5 kB / 0.5814 GB, free: 11.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4079, allocations: 0 / 0.5814 GB, free: 11.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002954/0.4082, allocations: 109.7 kB / 0.5815 GB, free: 11.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4082, allocations: 55.34 kB / 0.5816 GB, free: 11.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.4083, allocations: 97.86 kB / 0.5817 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4083, allocations: 25.7 kB / 0.5817 GB, free: 11.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.4084, allocations: 84.09 kB / 0.5818 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.4084, allocations: 35.73 kB / 0.5818 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4085, allocations: 29.83 kB / 0.5818 GB, free: 10.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4086, allocations: 314.8 kB / 0.5821 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.4086, allocations: 24.06 kB / 0.5822 GB, free: 10.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.4087, allocations: 37.7 kB / 0.5822 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.4088, allocations: 65.64 kB / 0.5823 GB, free: 10.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4088, allocations: 0 / 0.5823 GB, free: 10.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001605/0.409, allocations: 93.94 kB / 0.5824 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.409, allocations: 11.97 kB / 0.5824 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.409, allocations: 4 kB / 0.5824 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.409, allocations: 0 / 0.5824 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.4091, allocations: 8 kB / 0.5824 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4091, allocations: 0 / 0.5824 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.4091, allocations: 3.953 kB / 0.5824 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.4091, allocations: 11.98 kB / 0.5824 GB, free: 10.39 MB / 430.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.561e-05/0.4092, allocations: 117.7 kB / 0.5825 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.4092, allocations: 0 / 0.5825 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.4095, allocations: 161.5 kB / 0.5827 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/0.4097, allocations: 113.7 kB / 0.5828 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4097, allocations: 0 / 0.5828 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4097, allocations: 0 / 0.5828 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.4102, allocations: 430.2 kB / 0.5832 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4102, allocations: 0 / 0.5832 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.4102, allocations: 23.98 kB / 0.5832 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4102, allocations: 0 / 0.5832 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4103, allocations: 7.938 kB / 0.5832 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4103, allocations: 0 / 0.5832 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4103, allocations: 0 / 0.5832 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.4106, allocations: 227 kB / 0.5834 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.4106, allocations: 81.11 kB / 0.5835 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.4106, allocations: 7.922 kB / 0.5835 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.4107, allocations: 4 kB / 0.5835 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.4107, allocations: 4 kB / 0.5835 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.4107, allocations: 8 kB / 0.5835 GB, free: 9.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.4108, allocations: 75.28 kB / 0.5836 GB, free: 9.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4108, allocations: 0 / 0.5836 GB, free: 9.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001899/0.4127, allocations: 358.9 kB / 0.5839 GB, free: 8.691 MB / 430.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.01274/0.4254, allocations: 3.707 MB / 0.5876 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.4258, allocations: 109.5 kB / 0.5877 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/0.4258, allocations: 8 kB / 0.5877 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.4258, allocations: 47.92 kB / 0.5877 GB, free: 4.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.4263, allocations: 35.94 kB / 0.5877 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.4268, allocations: 204.7 kB / 0.5879 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4271, allocations: 0.6885 MB / 0.5886 GB, free: 3.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.4272, allocations: 12.12 kB / 0.5886 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.4272, allocations: 19.42 kB / 0.5886 GB, free: 3.793 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4272, allocations: 0 / 0.5886 GB, free: 3.793 MB / 430.1 MB Notification: Performance of Templates: time 0.02707/0.4543, allocations: 18.06 MB / 0.6063 GB, free: 1.703 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.000168846920133]