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.0009331/0.0009331, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.002079, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001608/0.001608, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.003125, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9618/0.9618, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08215/1.044, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.232/0.232, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02172/0.2538, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.603e-06/1.603e-06, allocations: 3.938 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.322e-05, allocations: 2.312 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01144/0.01146, allocations: 8.567 MB / 301.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.02382, allocations: 11.07 MB / 312.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.02388, allocations: 3.938 kB / 312.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.02407, allocations: 35.81 kB / 312.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.02901, allocations: 1.777 MB / 314.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.481e-06/0.02901, allocations: 0 / 314.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.851e-05/0.02911, allocations: 55.61 kB / 314.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.02915, allocations: 4 kB / 314.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.02932, allocations: 43.77 kB / 314.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.02935, allocations: 8 kB / 314.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.02936, allocations: 7.938 kB / 314.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009838/0.0392, allocations: 6.72 MB / 320.9 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.03922, allocations: 7.938 kB / 320.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.03925, allocations: 12 kB / 320.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007327/0.04658, allocations: 5.131 MB / 326.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.699e-05/0.04659, allocations: 0 / 326.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.04659, allocations: 0 / 326.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.04661, allocations: 3.938 kB / 326.1 MB, free: 4.77 MB / 314.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.003827/0.05043, allocations: 1.279 MB / 327.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.05048, allocations: 8.031 kB / 327.3 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.05065, allocations: 31.92 kB / 327.4 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.05076, allocations: 109.1 kB / 327.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.05077, allocations: 8 kB / 327.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.05078, allocations: 0 / 327.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.0509, allocations: 61.47 kB / 327.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.05091, allocations: 3.938 kB / 327.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.05092, allocations: 0 / 327.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.05093, allocations: 3.938 kB / 327.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.05098, allocations: 27.98 kB / 327.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.0513, allocations: 197.9 kB / 327.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.369e-05/0.05135, allocations: 34.5 kB / 327.8 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.05138, allocations: 16.84 kB / 327.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002809/0.05419, allocations: 1.198 MB / 329 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.05422, allocations: 34.56 kB / 329.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.05422, allocations: 0 / 329.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002112/0.05443, allocations: 73.66 kB / 329.1 MB, free: 1.566 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.05447, allocations: 55.39 kB / 329.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.05454, allocations: 106.7 kB / 329.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.05455, allocations: 25.7 kB / 329.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.05459, allocations: 88.08 kB / 329.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.05462, allocations: 27.73 kB / 329.4 MB, free: 1.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.05466, allocations: 29.64 kB / 329.5 MB, free: 1.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.05474, allocations: 318.8 kB / 329.8 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.05477, allocations: 11.94 kB / 329.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.0548, allocations: 29.7 kB / 329.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/0.05485, allocations: 33.7 kB / 329.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.05485, allocations: 4.125 kB / 329.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.05498, allocations: 73.61 kB / 329.9 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.055, allocations: 7.938 kB / 329.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.05501, allocations: 0 / 329.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.05502, allocations: 4 kB / 329.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.05509, allocations: 19.97 kB / 329.9 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.05509, allocations: 0 / 329.9 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.05512, allocations: 0 / 329.9 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.05514, allocations: 4 kB / 330 MB, free: 0.6758 MB / 314.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 7.478e-05/0.05521, allocations: 109.8 kB / 330.1 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.05526, allocations: 11.94 kB / 330.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.05545, allocations: 152.3 kB / 330.2 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.122e-05/0.05552, allocations: 73.61 kB / 330.3 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.05552, allocations: 0 / 330.3 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.05553, allocations: 4 kB / 330.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.05589, allocations: 322.4 kB / 330.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.0559, allocations: 0 / 330.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.05596, allocations: 12 kB / 330.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.05597, allocations: 15.92 kB / 330.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.05598, allocations: 0 / 330.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.05599, allocations: 8 kB / 330.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.05599, allocations: 3.938 kB / 330.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.05599, allocations: 0 / 330.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.05617, allocations: 228.3 kB / 330.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.05618, allocations: 4 kB / 330.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.05623, allocations: 0 / 330.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.05625, allocations: 11.98 kB / 330.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.05626, allocations: 3.938 kB / 330.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.46e-05/0.05628, allocations: 8.859 kB / 330.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05628, allocations: 0 / 330.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00169/0.05797, allocations: 366.9 kB / 331.3 MB, free: 15.3 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.01367/0.07164, allocations: 4.182 MB / 335.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.07187, allocations: 79.89 kB / 335.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.07188, allocations: 0 / 335.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.07193, allocations: 44.83 kB / 335.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.0723, allocations: 47.83 kB / 335.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.07501, allocations: 221.5 kB / 335.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.07506, allocations: 63.94 kB / 335.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.07511, allocations: 16.12 kB / 335.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.07523, allocations: 79.34 kB / 336 MB, free: 10.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.07523, allocations: 4 kB / 336 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Templates: time 0.02983/0.1051, allocations: 20.54 MB / 356.5 MB, free: 5.98 MB / 346.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 -ignoreHideResult -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.6830329494550824]