Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002931/0.002931, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.667/1.667, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3293/0.3293, allocations: 32.81 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.71e-05/3.923e-05, allocations: 9.828 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01405/0.01409, allocations: 8.441 MB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.0291, allocations: 11.03 MB / 394.7 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.02915, allocations: 0 / 394.7 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.02937, allocations: 31.81 kB / 394.7 MB, free: 1.441 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005641/0.03501, allocations: 1.886 MB / 396.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/0.03501, allocations: 0 / 396.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.03511, allocations: 39.69 kB / 396.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.03515, allocations: 7.938 kB / 396.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.0353, allocations: 35.83 kB / 396.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.03536, allocations: 15.98 kB / 396.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.03537, allocations: 0 / 396.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.04713, allocations: 6.599 MB / 403.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.04715, allocations: 7.938 kB / 403.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.0472, allocations: 11.98 kB / 403.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.06285, allocations: 5.329 MB / 408.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.06286, allocations: 0 / 408.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.06286, allocations: 0 / 408.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.06286, allocations: 0 / 408.7 MB, free: 3.48 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.002622/0.06548, allocations: 0.6032 MB / 409.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.06553, allocations: 8.031 kB / 409.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.06569, allocations: 23.89 kB / 409.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.06581, allocations: 119.9 kB / 409.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.06582, allocations: 4 kB / 409.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.06584, allocations: 8 kB / 409.4 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.06597, allocations: 57.61 kB / 409.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.06598, allocations: 0 / 409.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.06599, allocations: 0 / 409.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.066, allocations: 7.938 kB / 409.5 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.06609, allocations: 39.92 kB / 409.5 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.0666, allocations: 307.7 kB / 409.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.183e-05/0.06669, allocations: 39.06 kB / 409.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.06675, allocations: 31.73 kB / 409.9 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003079/0.06983, allocations: 0.8538 MB / 410.8 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.06986, allocations: 37.38 kB / 410.8 MB, free: 1.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.837e-06/0.06987, allocations: 3.984 kB / 410.8 MB, free: 1.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003352/0.0702, allocations: 113.6 kB / 410.9 MB, free: 1.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.07025, allocations: 51.41 kB / 411 MB, free: 1.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.07037, allocations: 149.9 kB / 411.1 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.0704, allocations: 29.83 kB / 411.1 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.07048, allocations: 142.8 kB / 411.3 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.07051, allocations: 27.69 kB / 411.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.07058, allocations: 35.36 kB / 411.3 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.07085, allocations: 492.1 kB / 411.8 MB, free: 132 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.07089, allocations: 16 kB / 411.8 MB, free: 116 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.07096, allocations: 43.36 kB / 411.9 MB, free: 64 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.0711, allocations: 71.48 kB / 411.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.0711, allocations: 3.938 kB / 412 MB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.0713, allocations: 101.5 kB / 412.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.07132, allocations: 8.031 kB / 412.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.07132, allocations: 0 / 412.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.07134, allocations: 0 / 412.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.0714, allocations: 12 kB / 412.1 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.07141, allocations: 7.984 kB / 412.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.07144, allocations: 0 / 412.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.07145, allocations: 4 kB / 412.1 MB, free: 15.84 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.0001231/0.07158, allocations: 160.5 kB / 412.2 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.07163, allocations: 15.83 kB / 412.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.0719, allocations: 130 kB / 412.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001704/0.07207, allocations: 105.6 kB / 412.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.07208, allocations: 256 / 412.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.07208, allocations: 0 / 412.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.07264, allocations: 425.1 kB / 412.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.07264, allocations: 0 / 412.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.07271, allocations: 15.98 kB / 412.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.07271, allocations: 4 kB / 412.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.07272, allocations: 0 / 412.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.07272, allocations: 0 / 412.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.07272, allocations: 4 kB / 412.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.07305, allocations: 279.8 kB / 413.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.07306, allocations: 7.891 kB / 413.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.07308, allocations: 4 kB / 413.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.07313, allocations: 4 kB / 413.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.07316, allocations: 7.984 kB / 413.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.07317, allocations: 0 / 413.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.423e-05/0.07324, allocations: 123.2 kB / 413.3 MB, free: 14.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07324, allocations: 3.938 kB / 413.3 MB, free: 14.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002275/0.07552, allocations: 362.9 kB / 413.7 MB, free: 14.14 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.01525/0.09077, allocations: 4.143 MB / 417.8 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.09111, allocations: 114.6 kB / 418 MB, free: 9.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.09112, allocations: 4 kB / 418 MB, free: 9.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.0912, allocations: 51.61 kB / 418 MB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.09166, allocations: 44.12 kB / 418.1 MB, free: 9.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.09213, allocations: 192.5 kB / 418.2 MB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.805e-05/0.09222, allocations: 75.33 kB / 418.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.615e-05/0.09227, allocations: 20.06 kB / 418.3 MB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.09231, allocations: 16.5 kB / 418.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.09232, allocations: 0 / 418.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of Templates: time 0.03119/0.1235, allocations: 18.5 MB / 436.8 MB, free: 6.914 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.467135705985129]