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.001769/0.001769, allocations: 81.86 kB / 21.25 MB, free: 0.5469 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.002092/0.002092, allocations: 161.3 kB / 24.5 MB, free: 3.715 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.448/1.448, allocations: 177.1 MB / 204.7 MB, free: 8.965 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.203/0.203, allocations: 34.25 MB / 295.4 MB, free: 14.48 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_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 0.002495/0.002495, allocations: 83.86 kB / 443.1 MB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3289, allocations: 66.06 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.009515/0.3384, allocations: 8.069 MB / 0.5051 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009154/0.3475, allocations: 9.89 MB / 0.5148 GB, free: 18.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.3476, allocations: 0 / 0.5148 GB, free: 18.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3478, allocations: 40.33 kB / 0.5148 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006113/0.3539, allocations: 1.855 MB / 0.5167 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.205e-06/0.3539, allocations: 0 / 0.5167 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3541, allocations: 44.11 kB / 0.5167 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.3541, allocations: 5.891 kB / 0.5167 GB, free: 17.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.3543, allocations: 34.97 kB / 0.5167 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.3543, allocations: 17.75 kB / 0.5168 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.3543, allocations: 1.031 kB / 0.5168 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.3669, allocations: 6.59 MB / 0.5232 GB, free: 17.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.3669, allocations: 9.734 kB / 0.5232 GB, free: 17.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.367, allocations: 14.53 kB / 0.5232 GB, free: 17.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.3853, allocations: 5.099 MB / 0.5282 GB, free: 16.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3853, allocations: 0 / 0.5282 GB, free: 16.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3853, allocations: 0 / 0.5282 GB, free: 16.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3853, allocations: 1.656 kB / 0.5282 GB, free: 16.56 MB / 446.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.006563/0.3919, allocations: 0.5027 MB / 0.5287 GB, free: 16.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3919, allocations: 9.156 kB / 0.5287 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.392, allocations: 12.25 kB / 0.5287 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.3921, allocations: 109.3 kB / 0.5288 GB, free: 16.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3921, allocations: 5.188 kB / 0.5288 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3922, allocations: 6.219 kB / 0.5288 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3923, allocations: 80.36 kB / 0.5289 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3923, allocations: 3.938 kB / 0.5289 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3923, allocations: 0 / 0.5289 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3923, allocations: 1.844 kB / 0.5289 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3924, allocations: 81.31 kB / 0.529 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.3928, allocations: 262.8 kB / 0.5292 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.3929, allocations: 47.72 kB / 0.5293 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.3929, allocations: 25.22 kB / 0.5293 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002885/0.3958, allocations: 0.8074 MB / 0.5301 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3958, allocations: 31.59 kB / 0.5301 GB, free: 15.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3958, allocations: 0 / 0.5301 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002638/0.3961, allocations: 112.1 kB / 0.5302 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.3961, allocations: 56.75 kB / 0.5303 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.513e-05/0.3962, allocations: 99.81 kB / 0.5304 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.3962, allocations: 27.14 kB / 0.5304 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.3962, allocations: 90.95 kB / 0.5305 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3962, allocations: 32.48 kB / 0.5305 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3963, allocations: 23.38 kB / 0.5305 GB, free: 15.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.3963, allocations: 321.6 kB / 0.5308 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.3963, allocations: 21.03 kB / 0.5309 GB, free: 14.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.3964, allocations: 37.27 kB / 0.5309 GB, free: 14.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.3965, allocations: 66.33 kB / 0.531 GB, free: 14.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3965, allocations: 4 kB / 0.531 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001429/0.3966, allocations: 95.08 kB / 0.5311 GB, free: 14.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3966, allocations: 5.109 kB / 0.5311 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3966, allocations: 1.344 kB / 0.5311 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3967, allocations: 0 / 0.5311 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.3967, allocations: 13.47 kB / 0.5311 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3967, allocations: 1.656 kB / 0.5311 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.3967, allocations: 2.125 kB / 0.5311 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3968, allocations: 6.781 kB / 0.5311 GB, free: 14.55 MB / 446.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 5.156e-05/0.3968, allocations: 125.6 kB / 0.5312 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3969, allocations: 7.766 kB / 0.5312 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.3971, allocations: 143.7 kB / 0.5314 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/0.3972, allocations: 122.7 kB / 0.5315 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3972, allocations: 0.6094 kB / 0.5315 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3972, allocations: 0.6094 kB / 0.5315 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3976, allocations: 376.8 kB / 0.5318 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3976, allocations: 0 / 0.5318 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.3977, allocations: 14.94 kB / 0.5318 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3977, allocations: 5.344 kB / 0.5319 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.3977, allocations: 5.281 kB / 0.5319 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3977, allocations: 0.6562 kB / 0.5319 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3977, allocations: 5.438 kB / 0.5319 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.3979, allocations: 227 kB / 0.5321 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.3979, allocations: 14.58 kB / 0.5321 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3979, allocations: 1.156 kB / 0.5321 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.3979, allocations: 1.594 kB / 0.5321 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.398, allocations: 14.38 kB / 0.5321 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.398, allocations: 2.312 kB / 0.5321 GB, free: 13.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.926e-05/0.398, allocations: 79.86 kB / 0.5322 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.398, allocations: 4 kB / 0.5322 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004338/0.4023, allocations: 362.9 kB / 0.5325 GB, free: 13.6 MB / 446.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.01756/0.4199, allocations: 4.088 MB / 0.5365 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.4202, allocations: 108.1 kB / 0.5366 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4202, allocations: 0.9375 kB / 0.5366 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.4203, allocations: 49.3 kB / 0.5367 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.4208, allocations: 48.95 kB / 0.5367 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.4212, allocations: 217 kB / 0.5369 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.083e-05/0.4213, allocations: 83.77 kB / 0.537 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.4213, allocations: 8.062 kB / 0.537 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.4214, allocations: 20.44 kB / 0.537 GB, free: 11.01 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4214, allocations: 0 / 0.537 GB, free: 11.01 MB / 446.1 MB Notification: Performance of Templates: time 0.02658/0.448, allocations: 18.32 MB / 0.5549 GB, free: 10.18 MB / 462.1 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 -s ida -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/jenkins1/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/jenkins1/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.458167231990956]