Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001757/0.001757, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.002192/0.002192, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9887/0.9887, allocations: 177 MB / 204.8 MB, free: 5.625 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.2523/0.2523, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.55e-05, allocations: 2.312 kB / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009822/0.009847, allocations: 8.516 MB / 387.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008819/0.01867, allocations: 11.05 MB / 398.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.01872, allocations: 0 / 398.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.01892, allocations: 35.81 kB / 398.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.02272, allocations: 1.904 MB / 400.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.34e-06/0.02272, allocations: 0 / 400.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.684e-05/0.02282, allocations: 55.55 kB / 400.3 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.02285, allocations: 4 kB / 400.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.02298, allocations: 39.83 kB / 400.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.02301, allocations: 11.94 kB / 400.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.02302, allocations: 0 / 400.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006999/0.03002, allocations: 6.599 MB / 407 MB, free: 5.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.03004, allocations: 3.938 kB / 407 MB, free: 5.816 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.03009, allocations: 23.92 kB / 407 MB, free: 5.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009577/0.03966, allocations: 5.333 MB / 412.3 MB, free: 464 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.03967, allocations: 0 / 412.3 MB, free: 464 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.03967, allocations: 0 / 412.3 MB, free: 464 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.03968, allocations: 0 / 412.3 MB, free: 464 kB / 378.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.002776/0.04245, allocations: 0.5993 MB / 412.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.0425, allocations: 12.02 kB / 412.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.04265, allocations: 23.89 kB / 413 MB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/0.04274, allocations: 116 kB / 413.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.04275, allocations: 4 kB / 413.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.04276, allocations: 4 kB / 413.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.04287, allocations: 61.62 kB / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.04288, allocations: 0 / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.04289, allocations: 0 / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.0429, allocations: 3.938 kB / 413.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.04295, allocations: 31.98 kB / 413.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.04339, allocations: 311.6 kB / 413.5 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.236e-05/0.04346, allocations: 47.05 kB / 413.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.0435, allocations: 23.67 kB / 413.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/0.04502, allocations: 0.8578 MB / 414.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.04504, allocations: 37.39 kB / 414.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.04504, allocations: 0 / 414.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002254/0.04527, allocations: 101.6 kB / 414.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.0453, allocations: 51.41 kB / 414.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.04537, allocations: 161.9 kB / 414.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.04538, allocations: 25.7 kB / 414.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.04542, allocations: 134.8 kB / 414.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.04544, allocations: 31.73 kB / 414.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.04548, allocations: 31.38 kB / 415 MB, free: 13.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.04559, allocations: 496.1 kB / 415.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.04562, allocations: 15.98 kB / 415.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.04566, allocations: 35.64 kB / 415.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.04572, allocations: 63.34 kB / 415.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.04572, allocations: 0 / 415.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001202/0.04584, allocations: 93.45 kB / 415.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.04586, allocations: 11.98 kB / 415.7 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.04587, allocations: 0 / 415.7 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.04588, allocations: 4.031 kB / 415.7 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.04594, allocations: 12 kB / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.04595, allocations: 0 / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.04597, allocations: 4 kB / 415.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.04598, allocations: 0 / 415.7 MB, free: 12.86 MB / 394.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 6.758e-05/0.04605, allocations: 164.5 kB / 415.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.04607, allocations: 11.89 kB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.04626, allocations: 128.3 kB / 416 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/0.04634, allocations: 101.6 kB / 416.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.04635, allocations: 0 / 416.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.04635, allocations: 4 kB / 416.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.04696, allocations: 405.1 kB / 416.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.04696, allocations: 0 / 416.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.047, allocations: 16 kB / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.047, allocations: 0 / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.04701, allocations: 4 kB / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.04701, allocations: 0 / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04702, allocations: 0 / 416.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.04718, allocations: 266.4 kB / 416.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.0472, allocations: 15.89 kB / 416.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.04721, allocations: 7.984 kB / 416.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.04724, allocations: 4 kB / 416.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.04726, allocations: 4 kB / 416.8 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.04727, allocations: 8.234 kB / 416.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.096e-05/0.0473, allocations: 123.2 kB / 416.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0473, allocations: 0 / 416.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001826/0.04912, allocations: 362.9 kB / 417.3 MB, free: 11.19 MB / 394.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.008918/0.05804, allocations: 4.143 MB / 421.4 MB, free: 7.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.05826, allocations: 98.77 kB / 421.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.05827, allocations: 0 / 421.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.05831, allocations: 47.61 kB / 421.6 MB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.05861, allocations: 48.34 kB / 421.6 MB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.05928, allocations: 212.4 kB / 421.8 MB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.703e-05/0.05932, allocations: 63.34 kB / 421.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.05937, allocations: 12 kB / 421.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.05939, allocations: 24.48 kB / 421.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.05939, allocations: 0 / 421.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of Templates: time 0.02009/0.07948, allocations: 21.13 MB / 443.1 MB, free: 1.332 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 4.189043187070638]