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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 171.5 kB / 24.91 MB, free: 9.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2517/0.2517, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.072e-06/1.072e-06, allocations: 0 / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.96e-05, allocations: 3.625 kB / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008638/0.008658, allocations: 8.473 MB / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00803/0.01669, allocations: 11.02 MB / 342.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.01672, allocations: 0 / 342.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.0169, allocations: 35.81 kB / 342.7 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.02058, allocations: 1.898 MB / 344.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.579e-06/0.02058, allocations: 0 / 344.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.02066, allocations: 55.61 kB / 344.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.0207, allocations: 4 kB / 344.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.02081, allocations: 35.89 kB / 344.7 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.562e-05/0.02083, allocations: 15.88 kB / 344.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.02084, allocations: 0 / 344.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/0.02701, allocations: 6.591 MB / 351.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.02702, allocations: 3.938 kB / 351.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.02705, allocations: 11.94 kB / 351.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007166/0.03422, allocations: 5.333 MB / 356.7 MB, free: 8.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.03423, allocations: 8 kB / 356.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03423, allocations: 0 / 356.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.03423, allocations: 0 / 356.7 MB, free: 8.148 MB / 330.7 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.002056/0.03629, allocations: 490 kB / 357.2 MB, free: 7.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.03632, allocations: 12.03 kB / 357.2 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.03643, allocations: 23.92 kB / 357.2 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.294e-05/0.03649, allocations: 109.2 kB / 357.3 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.0365, allocations: 4 kB / 357.3 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.0365, allocations: 0 / 357.3 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.03659, allocations: 57.22 kB / 357.4 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.0366, allocations: 7.938 kB / 357.4 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.0366, allocations: 0 / 357.4 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.03661, allocations: 7.938 kB / 357.4 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.03665, allocations: 39.95 kB / 357.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.03691, allocations: 193.9 kB / 357.6 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.03695, allocations: 38.5 kB / 357.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.03697, allocations: 12.86 kB / 357.7 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/0.03875, allocations: 1.198 MB / 358.9 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.03878, allocations: 42.59 kB / 358.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.03878, allocations: 0 / 358.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001545/0.03894, allocations: 69.61 kB / 359 MB, free: 5.758 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.03896, allocations: 55.41 kB / 359 MB, free: 5.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.03902, allocations: 98.72 kB / 359.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.03903, allocations: 29.64 kB / 359.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.03906, allocations: 84.09 kB / 359.2 MB, free: 5.461 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.03908, allocations: 35.72 kB / 359.3 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.03911, allocations: 17.72 kB / 359.3 MB, free: 5.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.03918, allocations: 315 kB / 359.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.03919, allocations: 15.98 kB / 359.6 MB, free: 5.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.03921, allocations: 25.72 kB / 359.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.03925, allocations: 33.7 kB / 359.7 MB, free: 5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.03925, allocations: 7.938 kB / 359.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.153e-05/0.03933, allocations: 62 kB / 359.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.03935, allocations: 7.938 kB / 359.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.03935, allocations: 7.922 kB / 359.7 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.03937, allocations: 4 kB / 359.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.03941, allocations: 8 kB / 359.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.03941, allocations: 8.031 kB / 359.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.03943, allocations: 3.953 kB / 359.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.03944, allocations: 0 / 359.8 MB, free: 4.887 MB / 330.7 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 5.529e-05/0.0395, allocations: 113.8 kB / 359.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.03952, allocations: 15.92 kB / 359.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.03965, allocations: 141.4 kB / 360 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/0.0397, allocations: 66.44 kB / 360.1 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.0397, allocations: 3.984 kB / 360.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0397, allocations: 4 kB / 360.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.03997, allocations: 334.8 kB / 360.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.03997, allocations: 0 / 360.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.04001, allocations: 19.92 kB / 360.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.04001, allocations: 0 / 360.5 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.04002, allocations: 4 kB / 360.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.04002, allocations: 4 kB / 360.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.04002, allocations: 0 / 360.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.04014, allocations: 219.1 kB / 360.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.04015, allocations: 11.92 kB / 360.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.04015, allocations: 256 / 360.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.04018, allocations: 12 kB / 360.7 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.0402, allocations: 3.984 kB / 360.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.0402, allocations: 8 kB / 360.7 MB, free: 3.887 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.947e-06/0.04021, allocations: 8.844 kB / 360.7 MB, free: 3.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04021, allocations: 3.938 kB / 360.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001464/0.04168, allocations: 359 kB / 361.1 MB, free: 3.52 MB / 330.7 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.008629/0.05031, allocations: 4.162 MB / 365.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.05047, allocations: 87.86 kB / 365.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.05048, allocations: 0 / 365.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.0505, allocations: 33.97 kB / 365.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.05074, allocations: 47.67 kB / 365.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.05128, allocations: 205.6 kB / 365.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.05131, allocations: 67.28 kB / 365.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.05136, allocations: 16.11 kB / 365.7 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.05144, allocations: 75.36 kB / 365.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05144, allocations: 4 kB / 365.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01911/0.07055, allocations: 20.38 MB / 386.1 MB, free: 10.38 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.930333601310849]