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.002026/0.002026, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001942/0.001942, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.706/1.706, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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.3727/0.3727, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.854e-06/1.854e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.713e-05/4.898e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01455/0.0146, allocations: 8.486 MB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.03042, allocations: 11.03 MB / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.03049, allocations: 0 / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.03072, allocations: 35.77 kB / 396.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005762/0.03648, allocations: 1.878 MB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.873e-06/0.03649, allocations: 0 / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.0366, allocations: 55.61 kB / 398.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.03663, allocations: 0 / 398.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.0368, allocations: 43.77 kB / 398.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.03685, allocations: 15.98 kB / 398.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.03686, allocations: 3.938 kB / 398.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.04888, allocations: 6.588 MB / 405.3 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.0489, allocations: 7.938 kB / 405.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.04895, allocations: 19.98 kB / 405.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.06515, allocations: 5.337 MB / 410.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.06516, allocations: 0 / 410.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.36e-06/0.06516, allocations: 7.984 kB / 410.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.06517, allocations: 0 / 410.7 MB, free: 1.316 MB / 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.00286/0.06803, allocations: 0.6031 MB / 411.3 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.06807, allocations: 8.031 kB / 411.3 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.06823, allocations: 27.88 kB / 411.3 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.06835, allocations: 108.1 kB / 411.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.06836, allocations: 0 / 411.4 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.06837, allocations: 11.94 kB / 411.5 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.0685, allocations: 57.62 kB / 411.5 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.06851, allocations: 0 / 411.5 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.06852, allocations: 0 / 411.5 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.06853, allocations: 7.938 kB / 411.5 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.06862, allocations: 35.98 kB / 411.6 MB, free: 400 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.06913, allocations: 307.7 kB / 411.9 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.06924, allocations: 47.05 kB / 411.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.06929, allocations: 27.69 kB / 411.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003123/0.07241, allocations: 0.8577 MB / 412.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.07245, allocations: 37.42 kB / 412.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.07245, allocations: 112 / 412.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000333/0.07279, allocations: 117.6 kB / 412.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.07283, allocations: 55.34 kB / 413 MB, free: 14.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.07296, allocations: 157.9 kB / 413.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.07298, allocations: 33.7 kB / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.07306, allocations: 130.8 kB / 413.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.0731, allocations: 31.73 kB / 413.3 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.07315, allocations: 31.38 kB / 413.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002595/0.07341, allocations: 0.4884 MB / 413.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.07346, allocations: 20 kB / 413.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.07352, allocations: 39.36 kB / 413.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.07364, allocations: 67.31 kB / 414 MB, free: 13.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.07365, allocations: 128 / 414 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.07384, allocations: 109.9 kB / 414.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.07386, allocations: 4 kB / 414.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.07386, allocations: 0 / 414.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.07388, allocations: 8.031 kB / 414.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.07394, allocations: 8 kB / 414.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.07394, allocations: 0 / 414.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.07398, allocations: 3.938 kB / 414.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.07399, allocations: 4 kB / 414.1 MB, free: 13.68 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 0.0001297/0.07412, allocations: 164.6 kB / 414.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.07418, allocations: 11.89 kB / 414.3 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.07445, allocations: 129.7 kB / 414.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001753/0.07463, allocations: 108.8 kB / 414.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.07463, allocations: 4 kB / 414.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.07464, allocations: 4 kB / 414.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.07519, allocations: 417.1 kB / 414.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.07519, allocations: 3.938 kB / 414.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.07525, allocations: 15.94 kB / 414.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.07525, allocations: 0 / 414.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.07526, allocations: 8 kB / 415 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.07527, allocations: 3.984 kB / 415 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.07527, allocations: 0 / 415 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.0758, allocations: 275.8 kB / 415.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.07581, allocations: 3.953 kB / 415.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.07583, allocations: 12 kB / 415.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.07588, allocations: 0 / 415.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.07591, allocations: 7.984 kB / 415.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.07592, allocations: 4 kB / 415.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.919e-05/0.07599, allocations: 123.2 kB / 415.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07599, allocations: 0 / 415.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002701/0.07869, allocations: 366.8 kB / 415.7 MB, free: 11.96 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.01602/0.09472, allocations: 4.151 MB / 419.9 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.09519, allocations: 114.6 kB / 420 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.09519, allocations: 0 / 420 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.09529, allocations: 51.61 kB / 420.1 MB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.09582, allocations: 39.95 kB / 420.1 MB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.0963, allocations: 196.5 kB / 420.3 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.09641, allocations: 87.45 kB / 420.4 MB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.09646, allocations: 16.11 kB / 420.4 MB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.0965, allocations: 16.5 kB / 420.4 MB, free: 7.219 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.0965, allocations: 4 kB / 420.4 MB, free: 7.215 MB / 394.7 MB Notification: Performance of Templates: time 0.03235/0.1288, allocations: 18.53 MB / 438.9 MB, free: 4.676 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","/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.525679331971332]