Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001166/0.001166, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002772, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001026/0.001026, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002335, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9396/0.9396, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08589/1.025, allocations: 53.86 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] 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.275/0.275, allocations: 34.89 MB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04624/0.3212, allocations: 13.24 MB / 292.8 MB, free: 6.398 MB / 282.7 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.912e-05, allocations: 3.438 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008491/0.00852, allocations: 8.581 MB / 302.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008281/0.0168, allocations: 11.07 MB / 313.7 MB, free: 1.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.01684, allocations: 0 / 313.7 MB, free: 1.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.01695, allocations: 35.81 kB / 313.8 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.02117, allocations: 1.773 MB / 315.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.217e-06/0.02118, allocations: 0 / 315.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.0213, allocations: 55.61 kB / 315.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.02135, allocations: 4 kB / 315.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.0215, allocations: 47.77 kB / 315.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.02154, allocations: 15.98 kB / 315.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.02155, allocations: 0 / 315.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007652/0.0292, allocations: 6.724 MB / 322.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.02924, allocations: 7.938 kB / 322.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.02927, allocations: 8 kB / 322.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.03979, allocations: 5.119 MB / 327.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.836e-05/0.03981, allocations: 0 / 327.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.03981, allocations: 0 / 327.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.03982, allocations: 4 kB / 327.5 MB, free: 3.574 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.002401/0.04222, allocations: 1.287 MB / 328.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.04226, allocations: 11.44 kB / 328.8 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.0424, allocations: 27.91 kB / 328.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.0425, allocations: 113.1 kB / 329 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.04252, allocations: 8 kB / 329 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.04253, allocations: 4 kB / 329 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.147e-05/0.04262, allocations: 60.44 kB / 329 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.04262, allocations: 0 / 329 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.04263, allocations: 0 / 329 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.04264, allocations: 3.938 kB / 329 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.04267, allocations: 27.98 kB / 329.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.04292, allocations: 205.9 kB / 329.3 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.214e-05/0.04296, allocations: 30.52 kB / 329.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.04298, allocations: 20.91 kB / 329.3 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/0.04477, allocations: 1.194 MB / 330.5 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.04479, allocations: 38.55 kB / 330.5 MB, free: 448 kB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.0448, allocations: 4 kB / 330.5 MB, free: 444 kB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001474/0.04494, allocations: 71.41 kB / 330.6 MB, free: 368 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.04497, allocations: 59.34 kB / 330.7 MB, free: 296 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.04503, allocations: 98.72 kB / 330.8 MB, free: 184 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.04505, allocations: 29.7 kB / 330.8 MB, free: 148 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.04508, allocations: 92.08 kB / 330.9 MB, free: 52 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.0451, allocations: 27.73 kB / 330.9 MB, free: 24 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.04516, allocations: 21.7 kB / 330.9 MB, free: 16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.04525, allocations: 318.8 kB / 331.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.04526, allocations: 8 kB / 331.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.04528, allocations: 21.7 kB / 331.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.04533, allocations: 49.56 kB / 331.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.04533, allocations: 4 kB / 331.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.495e-05/0.04542, allocations: 76.38 kB / 331.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.04544, allocations: 7.938 kB / 331.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.04544, allocations: 0 / 331.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.04546, allocations: 0 / 331.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.04551, allocations: 15.98 kB / 331.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.04551, allocations: 0 / 331.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.04552, allocations: 0 / 331.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.04554, allocations: 8 kB / 331.4 MB, free: 15.47 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.32e-05/0.04559, allocations: 109.9 kB / 331.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.04562, allocations: 7.938 kB / 331.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.04575, allocations: 150.5 kB / 331.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/0.0458, allocations: 69.69 kB / 331.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.0458, allocations: 0 / 331.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0458, allocations: 0 / 331.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.04605, allocations: 322.4 kB / 332.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.04605, allocations: 0 / 332.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.0461, allocations: 19.92 kB / 332.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.04611, allocations: 7.953 kB / 332.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.04611, allocations: 4 kB / 332.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.04611, allocations: 0 / 332.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.04612, allocations: 4.25 kB / 332.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.04612, allocations: 0 / 332.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.04625, allocations: 241 kB / 332.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.04626, allocations: 8 kB / 332.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.04629, allocations: 0 / 332.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.0463, allocations: 15.91 kB / 332.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.04631, allocations: 0 / 332.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.899e-06/0.04632, allocations: 8.859 kB / 332.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04632, allocations: 0 / 332.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001326/0.04765, allocations: 366.9 kB / 332.7 MB, free: 14.1 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.009071/0.05672, allocations: 4.172 MB / 336.9 MB, free: 9.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.05688, allocations: 83.88 kB / 337 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.05689, allocations: 0 / 337 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.05693, allocations: 44.78 kB / 337 MB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.05719, allocations: 79.66 kB / 337.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.05882, allocations: 221.4 kB / 337.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.05886, allocations: 63.36 kB / 337.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.0589, allocations: 16.86 kB / 337.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.05899, allocations: 83.34 kB / 337.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of SimCode: time 1.173e-06/0.05899, allocations: 0 / 337.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of Templates: time 0.01769/0.07668, allocations: 19.95 MB / 357.4 MB, free: 5.324 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8289475943893194]