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.001889/0.001889, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002197/0.002197, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.413/1.413, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2017/0.2017, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.442e-06/1.442e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.643e-05, allocations: 6.219 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01252/0.01255, allocations: 8.008 MB / 448.1 MB, free: 136 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1987/0.2113, allocations: 9.859 MB / 457.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.2113, allocations: 1.344 kB / 457.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.2115, allocations: 34.7 kB / 458 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.2166, allocations: 1.877 MB / 459.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.61e-06/0.2166, allocations: 1.312 kB / 459.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.352e-05/0.2167, allocations: 49.7 kB / 459.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.2167, allocations: 1.891 kB / 459.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2169, allocations: 36.14 kB / 459.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.2169, allocations: 18.77 kB / 460 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.2169, allocations: 0 / 460 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.2279, allocations: 6.593 MB / 466.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.2279, allocations: 1 kB / 466.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.2279, allocations: 12.72 kB / 466.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.2444, allocations: 5.332 MB / 471.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2444, allocations: 0 / 471.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2444, allocations: 1.312 kB / 471.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2444, allocations: 1.344 kB / 471.9 MB, free: 8.691 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.005257/0.2497, allocations: 0.4978 MB / 472.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2497, allocations: 9.188 kB / 472.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.2499, allocations: 20.88 kB / 472.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.146e-05/0.2499, allocations: 110 kB / 472.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2499, allocations: 3.281 kB / 472.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-06/0.2499, allocations: 1.719 kB / 472.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.2501, allocations: 89.81 kB / 472.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2501, allocations: 0 / 472.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2501, allocations: 0 / 472.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2501, allocations: 4.859 kB / 472.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.2502, allocations: 86.39 kB / 472.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.2506, allocations: 256.3 kB / 473 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.569e-05/0.2506, allocations: 41.31 kB / 473 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.2507, allocations: 27.73 kB / 473 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/0.2532, allocations: 0.801 MB / 473.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2533, allocations: 40.06 kB / 473.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2533, allocations: 0.8125 kB / 473.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002436/0.2535, allocations: 116.5 kB / 474 MB, free: 7.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.2535, allocations: 52.22 kB / 474 MB, free: 7.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.2536, allocations: 94.08 kB / 474.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.2536, allocations: 25.7 kB / 474.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.2536, allocations: 92.89 kB / 474.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.2536, allocations: 22.84 kB / 474.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.2536, allocations: 31.66 kB / 474.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.419e-05/0.2537, allocations: 314.8 kB / 474.6 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.2537, allocations: 22.19 kB / 474.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.2537, allocations: 39.33 kB / 474.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.274e-05/0.2538, allocations: 66.17 kB / 474.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2538, allocations: 0 / 474.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001356/0.254, allocations: 101.5 kB / 474.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.254, allocations: 4.906 kB / 474.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.254, allocations: 1.594 kB / 474.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.254, allocations: 0.7812 kB / 474.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.254, allocations: 11.94 kB / 474.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.254, allocations: 3.422 kB / 474.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.2541, allocations: 2.375 kB / 474.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2541, allocations: 5.609 kB / 474.9 MB, free: 6.434 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 4.821e-05/0.2541, allocations: 114.5 kB / 475 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.2542, allocations: 7.906 kB / 475 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.2544, allocations: 156.3 kB / 475.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00012/0.2545, allocations: 120.1 kB / 475.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2545, allocations: 0.8125 kB / 475.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2545, allocations: 3.938 kB / 475.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.2549, allocations: 371.8 kB / 475.6 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2549, allocations: 0 / 475.6 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.2549, allocations: 21.42 kB / 475.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2549, allocations: 0 / 475.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2549, allocations: 3.125 kB / 475.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2549, allocations: 6.281 kB / 475.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2549, allocations: 0.8125 kB / 475.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.2551, allocations: 222.2 kB / 475.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.2551, allocations: 11.05 kB / 475.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2551, allocations: 1.938 kB / 475.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.2552, allocations: 0 / 475.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.2552, allocations: 13.33 kB / 475.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2552, allocations: 2.594 kB / 475.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.278e-05/0.2552, allocations: 77.47 kB / 476 MB, free: 5.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2552, allocations: 0.7812 kB / 476 MB, free: 5.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003545/0.2588, allocations: 363.8 kB / 476.3 MB, free: 5.242 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.01491/0.2737, allocations: 4.151 MB / 480.5 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.2739, allocations: 101.7 kB / 480.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2739, allocations: 5.625 kB / 480.6 MB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.274, allocations: 39.98 kB / 480.6 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.2744, allocations: 38.62 kB / 480.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.2747, allocations: 190.1 kB / 480.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.337e-05/0.2747, allocations: 71.34 kB / 480.9 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.2748, allocations: 17.89 kB / 480.9 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2748, allocations: 20.5 kB / 481 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2748, allocations: 0 / 481 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of Templates: time 0.02933/0.3042, allocations: 18.35 MB / 499.3 MB, free: 14.28 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.325360909104347]