Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.00129/0.00129, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001455/0.001455, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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.2273/0.2273, allocations: 46.96 MB / 361.6 MB, free: 4.059 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_high_T,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_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2991, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01246/0.3115, allocations: 8.059 MB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.3237, allocations: 9.893 MB / 0.5793 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.3238, allocations: 4 kB / 0.5793 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.324, allocations: 35.81 kB / 0.5794 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004883/0.3289, allocations: 1.854 MB / 0.5812 GB, free: 308 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.573e-06/0.3289, allocations: 0 / 0.5812 GB, free: 308 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.329, allocations: 55.66 kB / 0.5812 GB, free: 252 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.3291, allocations: 0 / 0.5812 GB, free: 252 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3292, allocations: 31.86 kB / 0.5813 GB, free: 220 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.3292, allocations: 23.86 kB / 0.5813 GB, free: 196 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.3292, allocations: 3.938 kB / 0.5813 GB, free: 192 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/0.3398, allocations: 6.682 MB / 0.5878 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.3398, allocations: 7.938 kB / 0.5878 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.3399, allocations: 15.94 kB / 0.5878 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.3538, allocations: 5.096 MB / 0.5928 GB, free: 4.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3538, allocations: 0 / 0.5928 GB, free: 4.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3538, allocations: 3.938 kB / 0.5928 GB, free: 4.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3538, allocations: 4 kB / 0.5928 GB, free: 4.359 MB / 430.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.002638/0.3564, allocations: 0.5036 MB / 0.5933 GB, free: 3.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3565, allocations: 8.031 kB / 0.5933 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3566, allocations: 11.98 kB / 0.5933 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3567, allocations: 105.2 kB / 0.5934 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3567, allocations: 4 kB / 0.5934 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3567, allocations: 4 kB / 0.5934 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3569, allocations: 81.66 kB / 0.5935 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3569, allocations: 3.938 kB / 0.5935 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3569, allocations: 4 kB / 0.5935 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3569, allocations: 4 kB / 0.5935 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.357, allocations: 83.89 kB / 0.5936 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.3574, allocations: 276.3 kB / 0.5939 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.479e-05/0.3575, allocations: 38.52 kB / 0.5939 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.3576, allocations: 24.91 kB / 0.5939 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003011/0.3606, allocations: 0.8076 MB / 0.5947 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3606, allocations: 38.59 kB / 0.5948 GB, free: 2.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.3606, allocations: 0 / 0.5948 GB, free: 2.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002935/0.3609, allocations: 105.7 kB / 0.5949 GB, free: 2.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.3609, allocations: 55.34 kB / 0.5949 GB, free: 2.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.361, allocations: 105.8 kB / 0.595 GB, free: 1.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3611, allocations: 25.7 kB / 0.595 GB, free: 1.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.3611, allocations: 88.03 kB / 0.5951 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3611, allocations: 31.73 kB / 0.5952 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.3612, allocations: 25.72 kB / 0.5952 GB, free: 1.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3613, allocations: 322.8 kB / 0.5955 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.3614, allocations: 20.11 kB / 0.5955 GB, free: 1.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.3614, allocations: 41.64 kB / 0.5955 GB, free: 1.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.911e-05/0.3615, allocations: 61.66 kB / 0.5956 GB, free: 1.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3615, allocations: 0 / 0.5956 GB, free: 1.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.3617, allocations: 105.9 kB / 0.5957 GB, free: 1.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3617, allocations: 4 kB / 0.5957 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3617, allocations: 0 / 0.5957 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3617, allocations: 8.031 kB / 0.5957 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.3618, allocations: 8 kB / 0.5957 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3618, allocations: 0 / 0.5957 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.3618, allocations: 0 / 0.5957 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3618, allocations: 4 kB / 0.5957 GB, free: 1.195 MB / 430.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 8.403e-05/0.3619, allocations: 117.8 kB / 0.5958 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.362, allocations: 7.938 kB / 0.5959 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.3623, allocations: 145.8 kB / 0.596 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001458/0.3624, allocations: 117.7 kB / 0.5961 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3624, allocations: 8.062 kB / 0.5961 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3624, allocations: 0 / 0.5961 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.3629, allocations: 377.9 kB / 0.5965 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3629, allocations: 0 / 0.5965 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.3629, allocations: 20.17 kB / 0.5965 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3629, allocations: 0 / 0.5965 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3629, allocations: 3.938 kB / 0.5965 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3629, allocations: 0 / 0.5965 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3629, allocations: 7.938 kB / 0.5965 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.3632, allocations: 227 kB / 0.5967 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.3632, allocations: 15.89 kB / 0.5967 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3632, allocations: 3.984 kB / 0.5967 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.3632, allocations: 4 kB / 0.5967 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.3633, allocations: 7.938 kB / 0.5967 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3633, allocations: 11.92 kB / 0.5968 GB, free: 76 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.606e-05/0.3633, allocations: 79.28 kB / 0.5968 GB, free: 16 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3633, allocations: 0 / 0.5968 GB, free: 16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001986/0.3653, allocations: 359 kB / 0.5972 GB, free: 15.64 MB / 446.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.01363/0.3789, allocations: 4.081 MB / 0.6012 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.3792, allocations: 113.5 kB / 0.6013 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.3792, allocations: 0 / 0.6013 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.3793, allocations: 47.92 kB / 0.6013 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3798, allocations: 42.89 kB / 0.6014 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.3802, allocations: 225.7 kB / 0.6016 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.584e-05/0.3803, allocations: 79.08 kB / 0.6016 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.3804, allocations: 16.2 kB / 0.6017 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.3804, allocations: 15.44 kB / 0.6017 GB, free: 10.96 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3804, allocations: 7.938 kB / 0.6017 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Templates: time 0.02724/0.4076, allocations: 18.47 MB / 0.6197 GB, free: 8.488 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.309129721004865]