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.001179/0.001179, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.002943, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001062/0.001062, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002463, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.04/1.04, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09395/1.134, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.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.2517/0.2517, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02492/0.2766, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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.472e-06/1.472e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.98e-05, allocations: 4.422 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008649/0.008669, allocations: 8.561 MB / 302.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009411/0.01808, allocations: 11.07 MB / 313.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.01813, allocations: 4 kB / 313.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.01826, allocations: 31.81 kB / 313.5 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.02216, allocations: 1.788 MB / 315.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.141e-06/0.02216, allocations: 0 / 315.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.02226, allocations: 55.55 kB / 315.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.02231, allocations: 7.984 kB / 315.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.02244, allocations: 35.91 kB / 315.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.037e-05/0.02247, allocations: 15.94 kB / 315.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.02248, allocations: 0 / 315.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00723/0.02971, allocations: 6.724 MB / 322.1 MB, free: 8.828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.02972, allocations: 8 kB / 322.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.02977, allocations: 15.94 kB / 322.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007822/0.03759, allocations: 5.123 MB / 327.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.0376, allocations: 0 / 327.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.0376, allocations: 4 kB / 327.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.03762, allocations: 0 / 327.3 MB, free: 3.672 MB / 314.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.002437/0.04005, allocations: 1.283 MB / 328.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.04009, allocations: 8.922 kB / 328.6 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.0402, allocations: 23.92 kB / 328.6 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.04027, allocations: 121 kB / 328.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.04028, allocations: 8 kB / 328.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-06/0.04029, allocations: 0 / 328.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.675e-05/0.04036, allocations: 58.14 kB / 328.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.04037, allocations: 0 / 328.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.04038, allocations: 4 kB / 328.8 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.04038, allocations: 3.938 kB / 328.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.04041, allocations: 23.98 kB / 328.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.04066, allocations: 209.8 kB / 329 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.04069, allocations: 26.58 kB / 329 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.04071, allocations: 12.86 kB / 329.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/0.04248, allocations: 1.198 MB / 330.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.0425, allocations: 38.5 kB / 330.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.0425, allocations: 0 / 330.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001563/0.04266, allocations: 78.12 kB / 330.4 MB, free: 472 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.04268, allocations: 59.39 kB / 330.4 MB, free: 400 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.012e-05/0.04273, allocations: 102.7 kB / 330.5 MB, free: 284 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.04274, allocations: 25.7 kB / 330.6 MB, free: 252 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.04277, allocations: 84.09 kB / 330.6 MB, free: 164 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.04279, allocations: 31.73 kB / 330.7 MB, free: 132 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.04282, allocations: 25.7 kB / 330.7 MB, free: 100 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.04291, allocations: 318.8 kB / 331 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.04292, allocations: 8.062 kB / 331 MB, free: 15.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.04294, allocations: 29.7 kB / 331 MB, free: 15.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.04298, allocations: 39.42 kB / 331.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.04298, allocations: 0 / 331.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.199e-05/0.04306, allocations: 77.55 kB / 331.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.04308, allocations: 7.938 kB / 331.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.04308, allocations: 0 / 331.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.04309, allocations: 0 / 331.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.04313, allocations: 16.03 kB / 331.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.04313, allocations: 0 / 331.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.04315, allocations: 0 / 331.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.04316, allocations: 4 kB / 331.2 MB, free: 15.58 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.015e-05/0.04321, allocations: 117.8 kB / 331.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.04323, allocations: 7.938 kB / 331.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.04335, allocations: 150 kB / 331.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/0.0434, allocations: 75.05 kB / 331.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.0434, allocations: 0 / 331.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.04341, allocations: 7.984 kB / 331.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.04365, allocations: 322.4 kB / 331.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.04365, allocations: 0 / 331.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.04369, allocations: 16 kB / 331.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.0437, allocations: 19.88 kB / 331.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.0437, allocations: 0 / 331.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.04371, allocations: 0 / 331.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.04371, allocations: 4 kB / 331.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.04371, allocations: 0 / 331.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.04382, allocations: 228 kB / 332.1 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.04383, allocations: 8 kB / 332.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/0.04386, allocations: 4 kB / 332.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.04387, allocations: 7.984 kB / 332.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.04387, allocations: 0 / 332.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.774e-06/0.04388, allocations: 8.859 kB / 332.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04388, allocations: 0 / 332.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001447/0.04533, allocations: 362.9 kB / 332.5 MB, free: 14.21 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.008963/0.05429, allocations: 4.177 MB / 336.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.05447, allocations: 88.72 kB / 336.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.05448, allocations: 3.984 kB / 336.8 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.05451, allocations: 36.84 kB / 336.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.05476, allocations: 56.67 kB / 336.8 MB, free: 9.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.05644, allocations: 221.5 kB / 337.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.05648, allocations: 67.28 kB / 337.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.657e-05/0.05652, allocations: 8 kB / 337.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.05661, allocations: 79.34 kB / 337.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.05661, allocations: 4 kB / 337.2 MB, free: 9.41 MB / 330.7 MB Notification: Performance of Templates: time 0.01858/0.07519, allocations: 20.49 MB / 357.7 MB, free: 4.93 MB / 346.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 -ignoreHideResult -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: 3.712571964599192]