Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009827/0.0009827, 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.001225/0.001225, allocations: 168.9 kB / 24.91 MB, free: 9.148 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.277/0.277, allocations: 34.27 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.673e-05, allocations: 6.047 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01011/0.01013, allocations: 8.509 MB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009785/0.01992, allocations: 11.02 MB / 344.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.02, allocations: 0 / 344.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.02027, allocations: 31.81 kB / 344.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005901/0.02618, allocations: 1.914 MB / 346.7 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.127e-06/0.02618, allocations: 0 / 346.7 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.02631, allocations: 55.55 kB / 346.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.02636, allocations: 4 kB / 346.8 MB, free: 2.094 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.02651, allocations: 39.83 kB / 346.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.02655, allocations: 11.94 kB / 346.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.02656, allocations: 0 / 346.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009614/0.03618, allocations: 6.595 MB / 353.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.0362, allocations: 7.938 kB / 353.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.03625, allocations: 15.94 kB / 353.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.04675, allocations: 5.333 MB / 358.8 MB, free: 6.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.04676, allocations: 4 kB / 358.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04676, allocations: 0 / 358.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.04676, allocations: 0 / 358.8 MB, free: 6.066 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.002796/0.04956, allocations: 497.9 kB / 359.3 MB, free: 5.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.0496, allocations: 8.031 kB / 359.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.04975, allocations: 23.92 kB / 359.3 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.04984, allocations: 125 kB / 359.4 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.04985, allocations: 4 kB / 359.4 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.04986, allocations: 0 / 359.4 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.04996, allocations: 52.52 kB / 359.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.04997, allocations: 0 / 359.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.04998, allocations: 4 kB / 359.5 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.04999, allocations: 7.922 kB / 359.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/0.05003, allocations: 24.97 kB / 359.5 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.05034, allocations: 205.8 kB / 359.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.638e-05/0.05039, allocations: 26.58 kB / 359.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.05041, allocations: 16.86 kB / 359.7 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/0.05277, allocations: 1.198 MB / 360.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.0528, allocations: 34.55 kB / 361 MB, free: 3.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.995e-06/0.0528, allocations: 4 kB / 361 MB, free: 3.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001989/0.053, allocations: 77.5 kB / 361.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.05303, allocations: 51.41 kB / 361.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.05309, allocations: 102.7 kB / 361.2 MB, free: 3.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.0531, allocations: 29.7 kB / 361.2 MB, free: 3.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.05315, allocations: 96.06 kB / 361.3 MB, free: 3.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.05317, allocations: 27.75 kB / 361.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.05321, allocations: 21.69 kB / 361.4 MB, free: 3.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.0533, allocations: 318.8 kB / 361.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.05331, allocations: 8 kB / 361.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.05334, allocations: 25.69 kB / 361.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.05339, allocations: 41.64 kB / 361.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.05339, allocations: 0 / 361.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001223/0.05352, allocations: 73.94 kB / 361.8 MB, free: 2.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.05353, allocations: 11.97 kB / 361.8 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.05354, allocations: 0 / 361.8 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.05355, allocations: 0 / 361.8 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.05361, allocations: 11.98 kB / 361.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.05361, allocations: 0 / 361.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.05364, allocations: 7.938 kB / 361.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.05365, allocations: 3.938 kB / 361.9 MB, free: 2.789 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 8.291e-05/0.05373, allocations: 113.8 kB / 362 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.05378, allocations: 7.938 kB / 362 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.05395, allocations: 145.6 kB / 362.1 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.067e-05/0.05401, allocations: 73.67 kB / 362.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.05401, allocations: 0 / 362.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.05401, allocations: 0 / 362.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.05435, allocations: 334.3 kB / 362.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.05435, allocations: 256 / 362.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.0544, allocations: 15.98 kB / 362.5 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.0544, allocations: 4 kB / 362.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.05441, allocations: 4 kB / 362.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.05441, allocations: 4 kB / 362.6 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.05441, allocations: 0 / 362.6 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.05458, allocations: 236.5 kB / 362.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.05459, allocations: 3.953 kB / 362.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.0546, allocations: 4 kB / 362.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.05464, allocations: 0 / 362.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.05467, allocations: 7.984 kB / 362.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.05468, allocations: 4 kB / 362.8 MB, free: 1.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.3e-05/0.05469, allocations: 8.844 kB / 362.8 MB, free: 1.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0547, allocations: 0 / 362.8 MB, free: 1.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002096/0.05679, allocations: 366.9 kB / 363.2 MB, free: 1.418 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.01196/0.06875, allocations: 4.154 MB / 367.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.06896, allocations: 91.94 kB / 367.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.06897, allocations: 4 kB / 367.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.06901, allocations: 32.78 kB / 367.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.06933, allocations: 50.75 kB / 367.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.07006, allocations: 221.4 kB / 367.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.0701, allocations: 63.34 kB / 367.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.07017, allocations: 16.12 kB / 367.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.07027, allocations: 83.34 kB / 367.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.07027, allocations: 3.938 kB / 367.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of Templates: time 0.02474/0.09501, allocations: 20.45 MB / 388.3 MB, free: 8.207 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.926875574979931]