Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.593e-05, allocations: 10.16 kB / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.1949/0.1949, allocations: 8.052 MB / 450.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009456/0.2044, allocations: 9.86 MB / 460.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.2045, allocations: 0 / 460.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.2047, allocations: 34.45 kB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.2095, allocations: 1.883 MB / 462.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.16e-06/0.2095, allocations: 0 / 462.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.2096, allocations: 53.42 kB / 462.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.2097, allocations: 1.562 kB / 462.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2098, allocations: 41.14 kB / 462.6 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.2099, allocations: 17.67 kB / 462.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2099, allocations: 1.188 kB / 462.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.2216, allocations: 6.596 MB / 469.2 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2216, allocations: 5.344 kB / 469.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.2216, allocations: 14.12 kB / 469.2 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.2359, allocations: 5.332 MB / 474.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2359, allocations: 1.781 kB / 474.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2359, allocations: 0 / 474.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.2359, allocations: 0 / 474.5 MB, free: 6.105 MB / 366.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.004108/0.24, allocations: 0.5026 MB / 475 MB, free: 5.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.24, allocations: 9.438 kB / 475.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.2402, allocations: 13.81 kB / 475.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.2402, allocations: 116.1 kB / 475.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2402, allocations: 1.312 kB / 475.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.2403, allocations: 6.312 kB / 475.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2404, allocations: 84.2 kB / 475.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2404, allocations: 0 / 475.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2404, allocations: 2.5 kB / 475.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2404, allocations: 1.5 kB / 475.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.2405, allocations: 88.94 kB / 475.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.2409, allocations: 256.5 kB / 475.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/0.2409, allocations: 34.58 kB / 475.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.241, allocations: 24.91 kB / 475.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002638/0.2436, allocations: 0.8115 MB / 476.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2436, allocations: 41.22 kB / 476.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2436, allocations: 0 / 476.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002672/0.2439, allocations: 119.9 kB / 476.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.2439, allocations: 51.41 kB / 476.7 MB, free: 3.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.244, allocations: 101.8 kB / 476.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.244, allocations: 25.7 kB / 476.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.244, allocations: 92.03 kB / 476.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.244, allocations: 31.72 kB / 476.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.2441, allocations: 29.66 kB / 477 MB, free: 3.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.2441, allocations: 314.8 kB / 477.3 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.2441, allocations: 20 kB / 477.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.2442, allocations: 37.7 kB / 477.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.2443, allocations: 62.03 kB / 477.4 MB, free: 3.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2443, allocations: 4 kB / 477.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001408/0.2444, allocations: 103.4 kB / 477.5 MB, free: 3.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2444, allocations: 4 kB / 477.5 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2444, allocations: 0 / 477.5 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2444, allocations: 7.938 kB / 477.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.2445, allocations: 8 kB / 477.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2445, allocations: 0 / 477.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.2445, allocations: 3.953 kB / 477.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2445, allocations: 4 kB / 477.5 MB, free: 3.094 MB / 366.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 5.558e-05/0.2446, allocations: 113.8 kB / 477.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.2446, allocations: 11.95 kB / 477.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.2449, allocations: 156.7 kB / 477.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001108/0.245, allocations: 121.5 kB / 477.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.245, allocations: 0 / 477.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.245, allocations: 0 / 477.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.2453, allocations: 374 kB / 478.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2453, allocations: 0 / 478.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.2454, allocations: 21.98 kB / 478.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2454, allocations: 0 / 478.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2454, allocations: 4 kB / 478.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2454, allocations: 4 kB / 478.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2454, allocations: 0 / 478.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.2456, allocations: 223.4 kB / 478.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.2456, allocations: 7.938 kB / 478.5 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2456, allocations: 3.984 kB / 478.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.2457, allocations: 4 kB / 478.5 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.2457, allocations: 4 kB / 478.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2457, allocations: 7.938 kB / 478.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.212e-05/0.2457, allocations: 83.92 kB / 478.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2457, allocations: 0 / 478.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003451/0.2492, allocations: 363 kB / 479 MB, free: 1.543 MB / 366.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.01414/0.2633, allocations: 4.144 MB / 483.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.2636, allocations: 105.6 kB / 483.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2636, allocations: 0 / 483.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.2637, allocations: 43.98 kB / 483.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.2641, allocations: 46.16 kB / 483.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.2646, allocations: 198.4 kB / 483.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.197e-05/0.2647, allocations: 79.33 kB / 483.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.2647, allocations: 17.8 kB / 483.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.2647, allocations: 16.5 kB / 483.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2647, allocations: 0 / 483.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of Templates: time 0.03009/0.2948, allocations: 18.39 MB / 0.4903 GB, free: 10.46 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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: 6.5617388635873795]