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.001046/0.001046, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001364/0.001364, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.103/1.103, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2668/0.2668, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.894e-06/1.894e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.783e-05, allocations: 5.859 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01184/0.01187, allocations: 8.557 MB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008224/0.0201, allocations: 11.02 MB / 344.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.02012, allocations: 4 kB / 344.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.02026, allocations: 35.77 kB / 344.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.02255, allocations: 1.784 MB / 346.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.02255, allocations: 0 / 346.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.02262, allocations: 55.55 kB / 346.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.02265, allocations: 7.938 kB / 346.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.02276, allocations: 39.89 kB / 346.8 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.383e-05/0.02278, allocations: 11.94 kB / 346.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.02279, allocations: 0 / 346.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/0.02862, allocations: 6.716 MB / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.02863, allocations: 4 kB / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.02866, allocations: 19.92 kB / 353.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00588/0.03454, allocations: 5.337 MB / 358.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.03454, allocations: 0 / 358.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.03455, allocations: 4 kB / 358.9 MB, free: 5.973 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.03455, allocations: 0 / 358.9 MB, free: 5.973 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.001048/0.0356, allocations: 497.9 kB / 359.3 MB, free: 5.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.03563, allocations: 8.031 kB / 359.4 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.03574, allocations: 23.92 kB / 359.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.815e-05/0.03582, allocations: 113.2 kB / 359.5 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.03583, allocations: 4 kB / 359.5 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.03584, allocations: 4 kB / 359.5 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.327e-05/0.03592, allocations: 48.52 kB / 359.5 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.03593, allocations: 0 / 359.5 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.03594, allocations: 4 kB / 359.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.03594, allocations: 11.88 kB / 359.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.03597, allocations: 23.98 kB / 359.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.03624, allocations: 205.8 kB / 359.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.03628, allocations: 26.58 kB / 359.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.0363, allocations: 16.89 kB / 359.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/0.03809, allocations: 1.198 MB / 361 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.03811, allocations: 30.56 kB / 361.1 MB, free: 3.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.03811, allocations: 4 kB / 361.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001417/0.03825, allocations: 81.5 kB / 361.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.03828, allocations: 55.39 kB / 361.2 MB, free: 3.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.03833, allocations: 102.7 kB / 361.3 MB, free: 3.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.03834, allocations: 25.7 kB / 361.3 MB, free: 3.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.03837, allocations: 88.09 kB / 361.4 MB, free: 3.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.03839, allocations: 35.72 kB / 361.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.03842, allocations: 17.72 kB / 361.5 MB, free: 3.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.03849, allocations: 322.8 kB / 361.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.0385, allocations: 11.94 kB / 361.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.03852, allocations: 21.72 kB / 361.8 MB, free: 2.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.03856, allocations: 41.69 kB / 361.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.03856, allocations: 0 / 361.8 MB, free: 2.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.118e-05/0.03865, allocations: 69.98 kB / 361.9 MB, free: 2.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.03866, allocations: 15.88 kB / 361.9 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.03866, allocations: 0 / 361.9 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.03867, allocations: 0 / 361.9 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.03871, allocations: 11.94 kB / 361.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.03872, allocations: 0 / 361.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.03873, allocations: 7.938 kB / 361.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.03874, allocations: 4.031 kB / 362 MB, free: 2.703 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.762e-05/0.0388, allocations: 117.8 kB / 362.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.03882, allocations: 7.938 kB / 362.1 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.03895, allocations: 141.6 kB / 362.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/0.039, allocations: 73.61 kB / 362.3 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.039, allocations: 0 / 362.3 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.039, allocations: 0 / 362.3 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.03963, allocations: 330.4 kB / 362.6 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.03963, allocations: 256 / 362.6 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.03967, allocations: 24 kB / 362.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.03967, allocations: 0 / 362.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.03967, allocations: 4 kB / 362.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.03967, allocations: 0 / 362.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.03967, allocations: 3.984 kB / 362.6 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.0398, allocations: 234.9 kB / 362.9 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.0398, allocations: 7.953 kB / 362.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.03981, allocations: 0 / 362.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.03984, allocations: 4 kB / 362.9 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.03986, allocations: 7.984 kB / 362.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.03986, allocations: 0 / 362.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.939e-06/0.03987, allocations: 12.86 kB / 362.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03987, allocations: 0 / 362.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008077/0.04068, allocations: 366.9 kB / 363.3 MB, free: 1.328 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.008147/0.04883, allocations: 4.158 MB / 367.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.04895, allocations: 84.94 kB / 367.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.04895, allocations: 0 / 367.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.04898, allocations: 36.72 kB / 367.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.04919, allocations: 58.81 kB / 367.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.04972, allocations: 225.4 kB / 367.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.04976, allocations: 63.3 kB / 367.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.399e-05/0.04979, allocations: 16.11 kB / 367.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.04987, allocations: 71.36 kB / 368 MB, free: 12.55 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04987, allocations: 0 / 368 MB, free: 12.55 MB / 346.7 MB Notification: Performance of Templates: time 0.01793/0.0678, allocations: 20.45 MB / 388.4 MB, free: 8.117 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 -s gbode -gbm=radauIIA3 -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.8190075270831585]