Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.0006514/0.0006514, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00295/0.00295, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 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 0.8538/0.8538, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.094e-05, allocations: 5.094 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.2016/0.2016, allocations: 8.308 MB / 451.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.2086, allocations: 12.39 MB / 464.1 MB, free: 32.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.2086, allocations: 0 / 464.1 MB, free: 32.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.2088, allocations: 38.38 kB / 464.2 MB, free: 32.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.2131, allocations: 2.48 MB / 466.6 MB, free: 31.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.768e-05/0.2132, allocations: 24.89 kB / 466.7 MB, free: 31.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2133, allocations: 132.6 kB / 466.8 MB, free: 31.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.2133, allocations: 3.844 kB / 466.8 MB, free: 31.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.2134, allocations: 83.62 kB / 466.9 MB, free: 31.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.2135, allocations: 32.36 kB / 466.9 MB, free: 31.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2135, allocations: 3.125 kB / 466.9 MB, free: 31.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005694/0.2192, allocations: 7.149 MB / 474.1 MB, free: 30.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.2192, allocations: 14.34 kB / 474.1 MB, free: 30.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.2193, allocations: 39.78 kB / 474.1 MB, free: 30.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007642/0.2269, allocations: 6.637 MB / 480.8 MB, free: 29.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2269, allocations: 0 / 480.8 MB, free: 29.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2269, allocations: 3.469 kB / 480.8 MB, free: 29.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2269, allocations: 1.312 kB / 480.8 MB, free: 29.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004765/0.2317, allocations: 0.6658 MB / 481.4 MB, free: 28.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2317, allocations: 10.09 kB / 481.4 MB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.2319, allocations: 27.36 kB / 481.5 MB, free: 28.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.214e-05/0.2319, allocations: 115.3 kB / 481.6 MB, free: 28.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.232, allocations: 7.312 kB / 481.6 MB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.232, allocations: 5.5 kB / 481.6 MB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.2322, allocations: 213.4 kB / 481.8 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2322, allocations: 1.406 kB / 481.8 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2322, allocations: 0 / 481.8 MB, free: 28.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2322, allocations: 7.219 kB / 481.8 MB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.2324, allocations: 113.9 kB / 481.9 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.2328, allocations: 323.9 kB / 482.2 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.2331, allocations: 131.1 kB / 482.4 MB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/0.2332, allocations: 50.16 kB / 482.4 MB, free: 28.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.2345, allocations: 0.6491 MB / 483.1 MB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.2347, allocations: 212.8 kB / 483.3 MB, free: 28.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.2347, allocations: 0 / 483.3 MB, free: 28.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004835/0.2352, allocations: 240.4 kB / 483.5 MB, free: 27.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.2353, allocations: 54.03 kB / 483.6 MB, free: 27.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.339e-05/0.2353, allocations: 111.9 kB / 483.7 MB, free: 27.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2353, allocations: 31.02 kB / 483.7 MB, free: 27.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.2353, allocations: 89.08 kB / 483.8 MB, free: 27.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.2354, allocations: 47.89 kB / 483.8 MB, free: 27.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.2354, allocations: 34.48 kB / 483.9 MB, free: 27.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.2354, allocations: 320.5 kB / 484.2 MB, free: 27.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.2355, allocations: 44.19 kB / 484.2 MB, free: 27.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.089e-05/0.2356, allocations: 70.92 kB / 484.3 MB, free: 27.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2358, allocations: 109 kB / 484.4 MB, free: 27.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2358, allocations: 0 / 484.4 MB, free: 27.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002166/0.236, allocations: 160.3 kB / 484.6 MB, free: 27.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.236, allocations: 5.969 kB / 484.6 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.236, allocations: 1.469 kB / 484.6 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.236, allocations: 4 kB / 484.6 MB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.2361, allocations: 27.11 kB / 484.6 MB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2361, allocations: 2.906 kB / 484.6 MB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.2362, allocations: 25.28 kB / 484.6 MB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2362, allocations: 6.5 kB / 484.6 MB, free: 27.07 MB / 410.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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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.551e-05/0.2362, allocations: 118.3 kB / 484.7 MB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.2363, allocations: 6.266 kB / 484.7 MB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.2366, allocations: 357.2 kB / 485.1 MB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000314/0.237, allocations: 298 kB / 485.4 MB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.237, allocations: 0.875 kB / 485.4 MB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.237, allocations: 1.406 kB / 485.4 MB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.2376, allocations: 0.6609 MB / 486.1 MB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2376, allocations: 0 / 486.1 MB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.2377, allocations: 31.25 kB / 486.1 MB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2377, allocations: 1.406 kB / 486.1 MB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2377, allocations: 6.75 kB / 486.1 MB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2378, allocations: 5.375 kB / 486.1 MB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2378, allocations: 0 / 486.1 MB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.2382, allocations: 456 kB / 486.5 MB, free: 26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.2382, allocations: 17.16 kB / 486.6 MB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.87e-05/0.2383, allocations: 7.047 kB / 486.6 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2384, allocations: 25.31 kB / 486.6 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.2384, allocations: 21.05 kB / 486.6 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.2384, allocations: 15.81 kB / 486.6 MB, free: 25.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.841e-05/0.2385, allocations: 80.89 kB / 486.7 MB, free: 25.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2385, allocations: 3.938 kB / 486.7 MB, free: 25.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003604/0.2421, allocations: 456.7 kB / 487.2 MB, free: 25.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0114/0.2535, allocations: 4.952 MB / 492.1 MB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.2539, allocations: 194.6 kB / 492.3 MB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2539, allocations: 0 / 492.3 MB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.254, allocations: 105 kB / 492.4 MB, free: 23.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.2544, allocations: 80.88 kB / 492.5 MB, free: 23.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.255, allocations: 383.5 kB / 492.9 MB, free: 22.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.2551, allocations: 104.7 kB / 493 MB, free: 22.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.2552, allocations: 27.88 kB / 493 MB, free: 22.74 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2552, allocations: 3.938 kB / 493 MB, free: 22.74 MB / 410.7 MB Notification: Performance of Templates: time 0.02219/0.2774, allocations: 21.57 MB / 0.5025 GB, free: 9.293 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.490132377482951]