Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001975/0.001975, 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.002104/0.002104, allocations: 169.3 kB / 24.28 MB, free: 152 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.683/1.683, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.342/0.342, allocations: 34.26 MB / 295.3 MB, free: 0.668 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_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.84e-05, allocations: 9.547 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01389/0.01392, allocations: 8.476 MB / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.02944, allocations: 11.03 MB / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.0295, allocations: 0 / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.02972, allocations: 35.81 kB / 396.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006056/0.03578, allocations: 1.89 MB / 398.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.247e-06/0.03579, allocations: 0 / 398.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.03592, allocations: 51.61 kB / 398.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.03596, allocations: 4 kB / 398.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.03614, allocations: 39.83 kB / 398.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.03619, allocations: 11.98 kB / 398.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.0362, allocations: 0 / 398.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.04855, allocations: 6.603 MB / 405.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.04857, allocations: 11.92 kB / 405.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.04863, allocations: 11.98 kB / 405.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.06495, allocations: 5.337 MB / 410.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.06496, allocations: 0 / 410.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.06496, allocations: 0 / 410.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.06497, allocations: 0 / 410.8 MB, free: 1.387 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.002712/0.06768, allocations: 0.6031 MB / 411.4 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.06772, allocations: 11.97 kB / 411.4 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.06788, allocations: 27.88 kB / 411.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.068, allocations: 112.1 kB / 411.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.06801, allocations: 0 / 411.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.06802, allocations: 4 kB / 411.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.06815, allocations: 53.69 kB / 411.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.06816, allocations: 4 kB / 411.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.06817, allocations: 3.938 kB / 411.6 MB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.06818, allocations: 3.938 kB / 411.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.06827, allocations: 47.91 kB / 411.6 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.06877, allocations: 299.7 kB / 411.9 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.263e-05/0.06886, allocations: 47.05 kB / 412 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.06891, allocations: 31.75 kB / 412 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003111/0.07202, allocations: 0.8461 MB / 412.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.07206, allocations: 37.39 kB / 412.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.07206, allocations: 0 / 412.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003159/0.07237, allocations: 125.5 kB / 413 MB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.07242, allocations: 51.52 kB / 413.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.07255, allocations: 157.9 kB / 413.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.07257, allocations: 33.7 kB / 413.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.07265, allocations: 130.8 kB / 413.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.07269, allocations: 31.73 kB / 413.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.07274, allocations: 27.38 kB / 413.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.07299, allocations: 0.4923 MB / 413.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.07304, allocations: 16 kB / 413.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.0731, allocations: 39.36 kB / 414 MB, free: 13.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.07321, allocations: 71.3 kB / 414.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.07321, allocations: 0 / 414.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.07341, allocations: 101.5 kB / 414.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.07343, allocations: 12.03 kB / 414.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.07343, allocations: 0 / 414.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.07344, allocations: 0 / 414.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.0735, allocations: 8 kB / 414.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.0735, allocations: 0 / 414.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.07354, allocations: 7.938 kB / 414.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.07356, allocations: 11.91 kB / 414.2 MB, free: 13.74 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.0001178/0.07368, allocations: 160.6 kB / 414.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.07373, allocations: 11.89 kB / 414.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.074, allocations: 130.3 kB / 414.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001681/0.07416, allocations: 117.6 kB / 414.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.07417, allocations: 0 / 414.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.07417, allocations: 0 / 414.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.07471, allocations: 417.3 kB / 415 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.07472, allocations: 4 kB / 415 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.07478, allocations: 23.98 kB / 415 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.07478, allocations: 0 / 415 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.07479, allocations: 3.938 kB / 415 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.07479, allocations: 0 / 415 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.0748, allocations: 8 kB / 415 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.0751, allocations: 271.8 kB / 415.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.07512, allocations: 11.95 kB / 415.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.07514, allocations: 0 / 415.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.07519, allocations: 0 / 415.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.07522, allocations: 7.984 kB / 415.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.07523, allocations: 8 kB / 415.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.07531, allocations: 119.2 kB / 415.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07531, allocations: 0 / 415.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002292/0.0776, allocations: 374.8 kB / 415.8 MB, free: 12.02 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.01471/0.09231, allocations: 4.139 MB / 420 MB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.09262, allocations: 106.8 kB / 420.1 MB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.09262, allocations: 4 kB / 420.1 MB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.09271, allocations: 51.61 kB / 420.1 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.09317, allocations: 44.14 kB / 420.2 MB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.09363, allocations: 196.4 kB / 420.4 MB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.183e-05/0.09372, allocations: 87.52 kB / 420.4 MB, free: 7.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.09377, allocations: 20.11 kB / 420.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.09381, allocations: 16.5 kB / 420.5 MB, free: 7.285 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.09381, allocations: 0 / 420.5 MB, free: 7.285 MB / 394.7 MB Notification: Performance of Templates: time 0.03178/0.1256, allocations: 18.57 MB / 439 MB, free: 4.719 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.452567921951413]