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.002098/0.002098, allocations: 81.72 kB / 20.68 MB, free: 1.035 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.00267/0.00267, allocations: 163.7 kB / 23.95 MB, free: 4.168 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.536/1.536, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2217/0.2217, allocations: 34.28 MB / 294.9 MB, free: 14.58 MB / 286.1 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 5.52e-06/5.52e-06, allocations: 3.984 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/3.179e-05, allocations: 2.281 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.2116/0.2117, allocations: 8.054 MB / 450.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.2219, allocations: 9.861 MB / 460.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.2219, allocations: 1.125 kB / 460.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.2222, allocations: 34.88 kB / 460.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005664/0.2278, allocations: 1.88 MB / 462.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.861e-06/0.2278, allocations: 0 / 462.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2279, allocations: 56.55 kB / 462.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.228, allocations: 6.25 kB / 462.5 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.2281, allocations: 32.34 kB / 462.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.866e-05/0.2282, allocations: 18.55 kB / 462.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2282, allocations: 1.094 kB / 462.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.2409, allocations: 6.591 MB / 469.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.241, allocations: 17.12 kB / 469.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.241, allocations: 12.78 kB / 469.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.2582, allocations: 5.328 MB / 474.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2582, allocations: 1.625 kB / 474.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2582, allocations: 0 / 474.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2582, allocations: 0 / 474.5 MB, free: 6.207 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.005167/0.2633, allocations: 0.5032 MB / 475.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2634, allocations: 9.781 kB / 475.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2635, allocations: 13.25 kB / 475.1 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.119e-05/0.2636, allocations: 107.7 kB / 475.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2636, allocations: 9.25 kB / 475.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.2636, allocations: 6.562 kB / 475.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2638, allocations: 83.8 kB / 475.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2638, allocations: 1.219 kB / 475.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2638, allocations: 4 kB / 475.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2638, allocations: 1.156 kB / 475.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.656e-05/0.2639, allocations: 79.5 kB / 475.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.2642, allocations: 259.2 kB / 475.6 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.2643, allocations: 42.5 kB / 475.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.2643, allocations: 25.67 kB / 475.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002652/0.267, allocations: 0.8143 MB / 476.5 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.267, allocations: 34.5 kB / 476.5 MB, free: 4.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.267, allocations: 0 / 476.5 MB, free: 4.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000265/0.2673, allocations: 119.9 kB / 476.6 MB, free: 4.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.2673, allocations: 55.41 kB / 476.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.2674, allocations: 97.86 kB / 476.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.2674, allocations: 25.7 kB / 476.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.2674, allocations: 96.02 kB / 476.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.2674, allocations: 27.75 kB / 476.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.2675, allocations: 21.7 kB / 477 MB, free: 3.828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.2675, allocations: 318.8 kB / 477.3 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.2675, allocations: 19.98 kB / 477.3 MB, free: 3.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.2676, allocations: 37.72 kB / 477.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.2677, allocations: 69.95 kB / 477.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2677, allocations: 0 / 477.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001386/0.2678, allocations: 97.56 kB / 477.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2678, allocations: 8 kB / 477.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2678, allocations: 0 / 477.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2678, allocations: 0 / 477.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.2679, allocations: 11.98 kB / 477.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2679, allocations: 0 / 477.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.2679, allocations: 7.953 kB / 477.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2679, allocations: 0 / 477.5 MB, free: 3.242 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.048e-05/0.268, allocations: 118.5 kB / 477.6 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.268, allocations: 11.88 kB / 477.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.2682, allocations: 152 kB / 477.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/0.2683, allocations: 113.7 kB / 477.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2684, allocations: 3.938 kB / 477.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2684, allocations: 4 kB / 477.9 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.2687, allocations: 380.9 kB / 478.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2687, allocations: 0 / 478.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.2687, allocations: 16 kB / 478.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2687, allocations: 4 kB / 478.3 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2688, allocations: 4 kB / 478.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2688, allocations: 3.984 kB / 478.3 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2688, allocations: 2.562 kB / 478.3 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2689, allocations: 231.4 kB / 478.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.2689, allocations: 4.594 kB / 478.5 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.269, allocations: 4 kB / 478.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.269, allocations: 0 / 478.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.269, allocations: 11.98 kB / 478.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.269, allocations: 0 / 478.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.021e-05/0.2691, allocations: 82.05 kB / 478.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2691, allocations: 4 kB / 478.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003773/0.2728, allocations: 366.9 kB / 479 MB, free: 1.684 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.01788/0.2907, allocations: 4.139 MB / 483.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.2911, allocations: 105.6 kB / 483.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2911, allocations: 0 / 483.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.2912, allocations: 47.92 kB / 483.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.2916, allocations: 40 kB / 483.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.292, allocations: 194.5 kB / 483.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.62e-05/0.2921, allocations: 79.33 kB / 483.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.2922, allocations: 20.05 kB / 483.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.2922, allocations: 16.5 kB / 483.6 MB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2922, allocations: 0 / 483.6 MB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.03124/0.3234, allocations: 18.4 MB / 0.4903 GB, free: 10.59 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.564725894480944]