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.001496/0.001496, allocations: 80.25 kB / 22.21 MB, free: 2.277 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.001962/0.001962, allocations: 169.8 kB / 25.61 MB, free: 8.535 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 1.031/1.031, allocations: 177 MB / 205.9 MB, free: 4.445 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.166/0.166, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.553e-06/1.553e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.275e-05, allocations: 3.719 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009039/0.009072, allocations: 8.468 MB / 388.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.01636, allocations: 10.87 MB / 399.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.01643, allocations: 0 / 399.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.01667, allocations: 39.77 kB / 399.4 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0047/0.02137, allocations: 1.887 MB / 401.2 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.777e-06/0.02138, allocations: 0 / 401.2 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.02149, allocations: 59.53 kB / 401.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.02154, allocations: 4 kB / 401.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.02168, allocations: 35.91 kB / 401.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.02172, allocations: 23.91 kB / 401.4 MB, free: 1.285 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.02173, allocations: 0 / 401.4 MB, free: 1.285 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007068/0.0288, allocations: 6.591 MB / 408 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.02882, allocations: 3.938 kB / 408 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.02887, allocations: 19.92 kB / 408 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008259/0.03713, allocations: 5.333 MB / 413.3 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.03714, allocations: 3.984 kB / 413.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03714, allocations: 0 / 413.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.03715, allocations: 4 kB / 413.3 MB, free: 5.305 MB / 330.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.002798/0.03995, allocations: 0.6035 MB / 413.9 MB, free: 4.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.03999, allocations: 8.031 kB / 413.9 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.04011, allocations: 27.88 kB / 414 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.04021, allocations: 112.1 kB / 414.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.04023, allocations: 0 / 414.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-06/0.04023, allocations: 4 kB / 414.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.571e-05/0.04033, allocations: 57.61 kB / 414.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.04034, allocations: 0 / 414.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.04035, allocations: 0 / 414.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.04035, allocations: 7.875 kB / 414.1 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.04039, allocations: 27.98 kB / 414.2 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.04074, allocations: 288.3 kB / 414.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/0.04079, allocations: 35.06 kB / 414.5 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.04082, allocations: 31.77 kB / 414.5 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.04227, allocations: 0.7994 MB / 415.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.04229, allocations: 45.27 kB / 415.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.04229, allocations: 4 kB / 415.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002007/0.04249, allocations: 93.5 kB / 415.5 MB, free: 3.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.04253, allocations: 51.41 kB / 415.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.04261, allocations: 157.9 kB / 415.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.04262, allocations: 29.7 kB / 415.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.04267, allocations: 134.8 kB / 415.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.04269, allocations: 27.73 kB / 415.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.04272, allocations: 27.36 kB / 415.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.04284, allocations: 0.4923 MB / 416.4 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.04286, allocations: 8 kB / 416.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.0429, allocations: 39.3 kB / 416.4 MB, free: 2.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.04295, allocations: 55.67 kB / 416.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.04295, allocations: 0 / 416.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001195/0.04307, allocations: 85.56 kB / 416.5 MB, free: 1.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.04309, allocations: 4 kB / 416.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.04309, allocations: 0 / 416.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.04311, allocations: 4 kB / 416.6 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.04316, allocations: 11.94 kB / 416.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.04316, allocations: 0 / 416.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.04319, allocations: 7.891 kB / 416.6 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.0432, allocations: 12.02 kB / 416.6 MB, free: 1.824 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 7.636e-05/0.04328, allocations: 160.6 kB / 416.7 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.04331, allocations: 8.125 kB / 416.8 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.04349, allocations: 113.7 kB / 416.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-05/0.04356, allocations: 93.55 kB / 417 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.04356, allocations: 0 / 417 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.04356, allocations: 0 / 417 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.0439, allocations: 389.1 kB / 417.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.0439, allocations: 0 / 417.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.04394, allocations: 20 kB / 417.4 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.04394, allocations: 0 / 417.4 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.04395, allocations: 4 kB / 417.4 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.04395, allocations: 7.938 kB / 417.4 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.04396, allocations: 0 / 417.4 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.04412, allocations: 247.8 kB / 417.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.04413, allocations: 7.938 kB / 417.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.04414, allocations: 4 kB / 417.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.116e-05/0.04417, allocations: 4 kB / 417.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.04419, allocations: 7.984 kB / 417.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.04419, allocations: 0 / 417.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.857e-05/0.04423, allocations: 131.2 kB / 417.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04423, allocations: 0 / 417.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002067/0.0463, allocations: 362.9 kB / 418.1 MB, free: 228 kB / 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.01038/0.05668, allocations: 4.162 MB / 422.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.05693, allocations: 86.77 kB / 422.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.05694, allocations: 3.938 kB / 422.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.05698, allocations: 43.66 kB / 422.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.05731, allocations: 50.56 kB / 422.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.05798, allocations: 220.5 kB / 422.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.05803, allocations: 67.2 kB / 422.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.591e-05/0.05808, allocations: 11.94 kB / 422.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.05819, allocations: 106.2 kB / 422.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.05819, allocations: 0 / 422.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of Templates: time 0.02509/0.08329, allocations: 20.47 MB / 443.3 MB, free: 6.965 MB / 362.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.549749659840018]