Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001522/0.001522, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001745/0.001745, allocations: 156.9 kB / 24.26 MB, free: 148 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.708/1.708, allocations: 177 MB / 204.5 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.3549/0.3549, allocations: 34.25 MB / 295.2 MB, free: 0.6328 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_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.876e-05, allocations: 3.859 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01357/0.0136, allocations: 8.059 MB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.02797, allocations: 9.865 MB / 395.1 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.02803, allocations: 0 / 395.1 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.02825, allocations: 35.77 kB / 395.2 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.03362, allocations: 1.886 MB / 397 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.022e-06/0.03362, allocations: 0 / 397 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.03374, allocations: 59.55 kB / 397.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.03377, allocations: 0 / 397.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.03393, allocations: 39.83 kB / 397.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.035e-05/0.03398, allocations: 19.92 kB / 397.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.03399, allocations: 0 / 397.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.04521, allocations: 6.591 MB / 403.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.04523, allocations: 3.938 kB / 403.8 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.04528, allocations: 19.92 kB / 403.8 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.05923, allocations: 5.333 MB / 409.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.05923, allocations: 0 / 409.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.05924, allocations: 0 / 409.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.05925, allocations: 4 kB / 409.1 MB, free: 2.895 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.003149/0.06239, allocations: 0.5036 MB / 409.6 MB, free: 2.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.06243, allocations: 12.03 kB / 409.6 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.06261, allocations: 23.89 kB / 409.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.06273, allocations: 109.2 kB / 409.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.06275, allocations: 11.88 kB / 409.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.06276, allocations: 8 kB / 409.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.06293, allocations: 73.67 kB / 409.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.06293, allocations: 0 / 409.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.06295, allocations: 0 / 409.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.06296, allocations: 7.938 kB / 409.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.06308, allocations: 75.97 kB / 409.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.06356, allocations: 264.4 kB / 410.2 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.06365, allocations: 46.56 kB / 410.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.0637, allocations: 24.92 kB / 410.3 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003145/0.06684, allocations: 0.8422 MB / 411.1 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.06688, allocations: 34.59 kB / 411.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.06688, allocations: 0 / 411.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003225/0.06721, allocations: 117.6 kB / 411.3 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.06726, allocations: 59.34 kB / 411.3 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.06736, allocations: 101.8 kB / 411.4 MB, free: 464 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.06738, allocations: 29.7 kB / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.06744, allocations: 84.09 kB / 411.5 MB, free: 340 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.06748, allocations: 31.73 kB / 411.6 MB, free: 308 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.06752, allocations: 21.72 kB / 411.6 MB, free: 280 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.06773, allocations: 318.8 kB / 411.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.06778, allocations: 20 kB / 411.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.06784, allocations: 33.7 kB / 411.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.06795, allocations: 69.97 kB / 412 MB, free: 15.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.06795, allocations: 0 / 412 MB, free: 15.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.06815, allocations: 105.5 kB / 412.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.06817, allocations: 8 kB / 412.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.06817, allocations: 0 / 412.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.06819, allocations: 0 / 412.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.06825, allocations: 8.188 kB / 412.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.06826, allocations: 0 / 412.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.0683, allocations: 11.89 kB / 412.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.06831, allocations: 0 / 412.1 MB, free: 15.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.0001023/0.06841, allocations: 113.8 kB / 412.2 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.06847, allocations: 15.91 kB / 412.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.0688, allocations: 160.8 kB / 412.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001724/0.06898, allocations: 113.7 kB / 412.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.06898, allocations: 0 / 412.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.06899, allocations: 0 / 412.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.06956, allocations: 381.8 kB / 412.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.06956, allocations: 0 / 412.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/0.06964, allocations: 19.98 kB / 412.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.06964, allocations: 0 / 412.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.06965, allocations: 0 / 412.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.06966, allocations: 0 / 412.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.06966, allocations: 4 kB / 412.9 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.06998, allocations: 239.3 kB / 413.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.06999, allocations: 4 kB / 413.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.07002, allocations: 7.984 kB / 413.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.07007, allocations: 0 / 413.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.0701, allocations: 4 kB / 413.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.07011, allocations: 7.984 kB / 413.2 MB, free: 14.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.07017, allocations: 79.28 kB / 413.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07017, allocations: 0 / 413.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00281/0.07298, allocations: 370.8 kB / 413.6 MB, free: 14.12 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.01587/0.08885, allocations: 4.154 MB / 417.8 MB, free: 9.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.08917, allocations: 111 kB / 417.9 MB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.08917, allocations: 0 / 417.9 MB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.08925, allocations: 44.2 kB / 417.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.08976, allocations: 44.16 kB / 418 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.09024, allocations: 190.8 kB / 418.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.09033, allocations: 91.41 kB / 418.2 MB, free: 9.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.09038, allocations: 12 kB / 418.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.09044, allocations: 16.5 kB / 418.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/0.09044, allocations: 0 / 418.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of Templates: time 0.03128/0.1217, allocations: 18.47 MB / 436.7 MB, free: 6.914 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.371147601981647]