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.001707/0.001707, allocations: 86.56 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001752/0.001752, allocations: 159 kB / 23.95 MB, free: 4.168 MB / 14.72 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.494/1.494, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2181/0.2181, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.993e-06/1.993e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.556e-05, allocations: 2.281 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.2073/0.2073, allocations: 8.053 MB / 450.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009707/0.217, allocations: 9.863 MB / 460.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.2171, allocations: 0.9375 kB / 460.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2174, allocations: 30.34 kB / 460.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.2226, allocations: 1.888 MB / 462.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.18e-06/0.2226, allocations: 0 / 462.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.2227, allocations: 51.42 kB / 462.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.2227, allocations: 7.141 kB / 462.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.2229, allocations: 32.94 kB / 462.6 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.2229, allocations: 14.41 kB / 462.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.2229, allocations: 0.9688 kB / 462.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.2362, allocations: 6.602 MB / 469.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.2362, allocations: 4.969 kB / 469.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.2363, allocations: 12.84 kB / 469.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.2525, allocations: 5.33 MB / 474.5 MB, free: 6.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.2525, allocations: 3.938 kB / 474.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2525, allocations: 0 / 474.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2525, allocations: 0 / 474.5 MB, free: 6.125 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.005605/0.2581, allocations: 0.5028 MB / 475 MB, free: 5.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2582, allocations: 9.625 kB / 475 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.2583, allocations: 18.09 kB / 475.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.2584, allocations: 107.8 kB / 475.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2584, allocations: 1.156 kB / 475.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.2584, allocations: 6.594 kB / 475.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.2586, allocations: 85.48 kB / 475.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2586, allocations: 2.953 kB / 475.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2586, allocations: 1.312 kB / 475.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.2586, allocations: 1.219 kB / 475.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.2587, allocations: 87.17 kB / 475.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.2591, allocations: 260.5 kB / 475.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.259e-05/0.2591, allocations: 34.58 kB / 475.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.2592, allocations: 28.91 kB / 475.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002701/0.2619, allocations: 0.8037 MB / 476.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.2619, allocations: 50.52 kB / 476.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2619, allocations: 0 / 476.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003582/0.2623, allocations: 111.6 kB / 476.6 MB, free: 4.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2623, allocations: 55.34 kB / 476.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.2624, allocations: 101.8 kB / 476.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.2624, allocations: 29.7 kB / 476.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.2624, allocations: 92.03 kB / 476.9 MB, free: 3.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2624, allocations: 23.75 kB / 476.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.2625, allocations: 25.7 kB / 476.9 MB, free: 3.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.2625, allocations: 314.8 kB / 477.2 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.2626, allocations: 19.98 kB / 477.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.2626, allocations: 37.7 kB / 477.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.2627, allocations: 69.97 kB / 477.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2627, allocations: 5.875 kB / 477.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.2629, allocations: 93.56 kB / 477.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.263, allocations: 4 kB / 477.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.263, allocations: 4 kB / 477.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.263, allocations: 0 / 477.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.2631, allocations: 11.98 kB / 477.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2631, allocations: 0 / 477.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.2631, allocations: 7.891 kB / 477.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2631, allocations: 8 kB / 477.5 MB, free: 3.129 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 6.359e-05/0.2632, allocations: 109.8 kB / 477.6 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2633, allocations: 11.97 kB / 477.6 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.2635, allocations: 157.6 kB / 477.8 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001579/0.2637, allocations: 109.7 kB / 477.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2637, allocations: 1.875 kB / 477.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.2637, allocations: 3.984 kB / 477.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.2642, allocations: 377.9 kB / 478.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2642, allocations: 0 / 478.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.2643, allocations: 22.05 kB / 478.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2643, allocations: 0 / 478.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2643, allocations: 8 kB / 478.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2643, allocations: 0 / 478.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2643, allocations: 0 / 478.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.2645, allocations: 223.4 kB / 478.5 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.2645, allocations: 11.88 kB / 478.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2645, allocations: 0 / 478.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/0.2646, allocations: 8 kB / 478.5 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.2647, allocations: 3.984 kB / 478.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2647, allocations: 4 kB / 478.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.183e-05/0.2647, allocations: 79.28 kB / 478.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2647, allocations: 0 / 478.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00481/0.2695, allocations: 366.9 kB / 479 MB, free: 1.582 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.01903/0.2885, allocations: 4.145 MB / 483.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.2889, allocations: 109.6 kB / 483.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2889, allocations: 0 / 483.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.289, allocations: 43.98 kB / 483.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.2895, allocations: 44.5 kB / 483.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.29, allocations: 194.5 kB / 483.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.788e-05/0.2901, allocations: 79.27 kB / 483.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.2901, allocations: 20.06 kB / 483.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.2902, allocations: 16.5 kB / 483.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2902, allocations: 3.938 kB / 483.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of Templates: time 0.02993/0.3201, allocations: 18.37 MB / 0.4902 GB, free: 10.53 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.7027782537043095]