Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001184/0.001184, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006113/0.006113, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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.9199/0.9199, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.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.2802/0.2802, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.846e-05, allocations: 2.281 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.2287/0.2287, allocations: 8.329 MB / 451.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008638/0.2373, allocations: 12.38 MB / 464.1 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.2374, allocations: 4 kB / 464.1 MB, free: 32.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.2376, allocations: 42.22 kB / 464.2 MB, free: 32.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.2429, allocations: 2.473 MB / 466.6 MB, free: 31.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.561e-05/0.2429, allocations: 13.84 kB / 466.6 MB, free: 31.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2431, allocations: 134.7 kB / 466.8 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.2431, allocations: 6.375 kB / 466.8 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.2433, allocations: 86.52 kB / 466.9 MB, free: 30.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.2434, allocations: 38.44 kB / 466.9 MB, free: 30.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2434, allocations: 2.875 kB / 466.9 MB, free: 30.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007705/0.2511, allocations: 7.137 MB / 474 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.2511, allocations: 18.27 kB / 474.1 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2512, allocations: 36.97 kB / 474.1 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.2629, allocations: 6.639 MB / 480.7 MB, free: 29.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.2629, allocations: 1.094 kB / 480.7 MB, free: 29.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2629, allocations: 0 / 480.7 MB, free: 29.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.2629, allocations: 0.8438 kB / 480.7 MB, free: 29.32 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.009024/0.272, allocations: 0.6675 MB / 481.4 MB, free: 28.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.272, allocations: 9.344 kB / 481.4 MB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.2722, allocations: 27.22 kB / 481.4 MB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.392e-05/0.2723, allocations: 112.6 kB / 481.6 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.2723, allocations: 7.188 kB / 481.6 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2723, allocations: 5.094 kB / 481.6 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.2726, allocations: 210.7 kB / 481.8 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2726, allocations: 0 / 481.8 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2726, allocations: 10.33 kB / 481.8 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2727, allocations: 5.375 kB / 481.8 MB, free: 28.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.2729, allocations: 119.6 kB / 481.9 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.2734, allocations: 319.2 kB / 482.2 MB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.2737, allocations: 143 kB / 482.4 MB, free: 28.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.2738, allocations: 47.05 kB / 482.4 MB, free: 28.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.2754, allocations: 0.6427 MB / 483 MB, free: 28.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.2757, allocations: 212.5 kB / 483.3 MB, free: 27.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/0.2757, allocations: 4 kB / 483.3 MB, free: 27.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005514/0.2762, allocations: 243 kB / 483.5 MB, free: 27.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2763, allocations: 54.97 kB / 483.5 MB, free: 27.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.2763, allocations: 106 kB / 483.6 MB, free: 27.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2763, allocations: 32.02 kB / 483.7 MB, free: 27.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.2764, allocations: 84.58 kB / 483.8 MB, free: 27.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.2764, allocations: 52.08 kB / 483.8 MB, free: 27.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.2765, allocations: 38.03 kB / 483.9 MB, free: 27.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.2765, allocations: 322.9 kB / 484.2 MB, free: 27.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.2766, allocations: 43.31 kB / 484.2 MB, free: 27.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.2767, allocations: 69.39 kB / 484.3 MB, free: 27.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2769, allocations: 113.5 kB / 484.4 MB, free: 27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2769, allocations: 0 / 484.4 MB, free: 27 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002468/0.2771, allocations: 154.8 kB / 484.5 MB, free: 26.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2771, allocations: 6.031 kB / 484.5 MB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2771, allocations: 0 / 484.5 MB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2771, allocations: 1.062 kB / 484.5 MB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.2772, allocations: 25.55 kB / 484.6 MB, free: 26.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2773, allocations: 2.891 kB / 484.6 MB, free: 26.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.2773, allocations: 27.41 kB / 484.6 MB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.2773, allocations: 5.75 kB / 484.6 MB, free: 26.91 MB / 410.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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 6.657e-05/0.2774, allocations: 125.7 kB / 484.7 MB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.2774, allocations: 11.27 kB / 484.7 MB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.2779, allocations: 354.2 kB / 485.1 MB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002977/0.2782, allocations: 302.4 kB / 485.4 MB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2782, allocations: 7.25 kB / 485.4 MB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2782, allocations: 1.359 kB / 485.4 MB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.2789, allocations: 0.645 MB / 486 MB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2789, allocations: 0 / 486 MB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.169e-05/0.279, allocations: 35.39 kB / 486.1 MB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.279, allocations: 1.719 kB / 486.1 MB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.279, allocations: 7.672 kB / 486.1 MB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.279, allocations: 1.281 kB / 486.1 MB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.279, allocations: 0 / 486.1 MB, free: 26.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.2795, allocations: 452.6 kB / 486.5 MB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.2795, allocations: 17.47 kB / 486.5 MB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2796, allocations: 9.969 kB / 486.5 MB, free: 25.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2797, allocations: 29.61 kB / 486.6 MB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.2797, allocations: 16.62 kB / 486.6 MB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2798, allocations: 16.59 kB / 486.6 MB, free: 25.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.347e-05/0.2798, allocations: 81.03 kB / 486.7 MB, free: 25.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2798, allocations: 0 / 486.7 MB, free: 25.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006388/0.2862, allocations: 456.8 kB / 487.1 MB, free: 25.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.02273/0.3089, allocations: 4.954 MB / 492.1 MB, free: 23.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005869/0.3095, allocations: 197 kB / 492.3 MB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.3095, allocations: 1.031 kB / 492.3 MB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3097, allocations: 106.4 kB / 492.4 MB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3101, allocations: 72 kB / 492.5 MB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.3108, allocations: 398.5 kB / 492.8 MB, free: 22.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.88e-05/0.3109, allocations: 108.8 kB / 493 MB, free: 22.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.3109, allocations: 22.81 kB / 493 MB, free: 22.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3109, allocations: 0 / 493 MB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.02483/0.3358, allocations: 21.57 MB / 0.5025 GB, free: 9.129 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.4085391806438565]