Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.0009397/0.0009397, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009142/0.0009142, allocations: 177.5 kB / 24.92 MB, free: 8.719 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.9668/0.9668, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2558/0.2558, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.54e-05, allocations: 4.031 kB / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01133/0.01135, allocations: 8.516 MB / 333.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.02176, allocations: 12.82 MB / 346.6 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.0218, allocations: 4 kB / 346.6 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.02198, allocations: 31.84 kB / 346.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.02707, allocations: 2.202 MB / 348.8 MB, free: 88 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.917e-06/0.02708, allocations: 4 kB / 348.8 MB, free: 84 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.02714, allocations: 55.55 kB / 348.9 MB, free: 28 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.112e-05/0.02716, allocations: 7.984 kB / 348.9 MB, free: 20 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.02726, allocations: 35.89 kB / 348.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.02728, allocations: 19.88 kB / 348.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-06/0.02728, allocations: 4 kB / 348.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006266/0.03355, allocations: 5.89 MB / 354.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.03356, allocations: 0 / 354.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.03359, allocations: 19.94 kB / 354.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00566/0.03925, allocations: 5.075 MB / 359.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.03925, allocations: 0 / 359.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03925, allocations: 0 / 359.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.03926, allocations: 4 kB / 359.9 MB, free: 4.953 MB / 330.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.001351/0.04061, allocations: 0.529 MB / 360.4 MB, free: 4.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.54e-05/0.04063, allocations: 12.03 kB / 360.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.04072, allocations: 27.88 kB / 360.5 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.583e-05/0.04077, allocations: 109.1 kB / 360.6 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.04078, allocations: 4 kB / 360.6 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.04079, allocations: 15.98 kB / 360.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.04093, allocations: 97.88 kB / 360.7 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-06/0.04093, allocations: 0 / 360.7 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.04094, allocations: 4 kB / 360.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.04095, allocations: 3.938 kB / 360.7 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.04102, allocations: 47.95 kB / 360.8 MB, free: 4.047 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.04125, allocations: 225.8 kB / 361 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.539e-05/0.04135, allocations: 58.48 kB / 361 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.04137, allocations: 20.84 kB / 361.1 MB, free: 3.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004216/0.04559, allocations: 3.132 MB / 364.2 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.04561, allocations: 38.5 kB / 364.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.04561, allocations: 0 / 364.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002047/0.04581, allocations: 101.5 kB / 364.3 MB, free: 436 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.04584, allocations: 59.34 kB / 364.4 MB, free: 364 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.04589, allocations: 106.7 kB / 364.5 MB, free: 244 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.0459, allocations: 25.7 kB / 364.5 MB, free: 212 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.04593, allocations: 92.03 kB / 364.6 MB, free: 116 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.04594, allocations: 15.86 kB / 364.6 MB, free: 100 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.04598, allocations: 29.69 kB / 364.6 MB, free: 64 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.04607, allocations: 310.8 kB / 364.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.04609, allocations: 11.98 kB / 365 MB, free: 15.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.04611, allocations: 33.7 kB / 365 MB, free: 15.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.04616, allocations: 37.69 kB / 365 MB, free: 15.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.04616, allocations: 0 / 365 MB, free: 15.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.239e-05/0.04624, allocations: 77.5 kB / 365.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.04625, allocations: 11.94 kB / 365.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.04625, allocations: 0 / 365.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.04626, allocations: 0 / 365.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.04631, allocations: 20.02 kB / 365.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.04631, allocations: 3.938 kB / 365.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.04633, allocations: 7.953 kB / 365.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.04634, allocations: 0 / 365.1 MB, free: 15.53 MB / 346.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.947e-05/0.0464, allocations: 121.8 kB / 365.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.04643, allocations: 11.88 kB / 365.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.0466, allocations: 185.5 kB / 365.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.0466, allocations: 7.938 kB / 365.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.0466, allocations: 0 / 365.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.0466, allocations: 0 / 365.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.04671, allocations: 109.8 kB / 365.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.04671, allocations: 0 / 365.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.04675, allocations: 23.92 kB / 365.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.04675, allocations: 4 kB / 365.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.04676, allocations: 0 / 365.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.04676, allocations: 8.484 kB / 365.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.04676, allocations: 0 / 365.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.04689, allocations: 232.8 kB / 365.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-06/0.0469, allocations: 11.89 kB / 365.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.04691, allocations: 0 / 365.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.251e-05/0.04694, allocations: 11.94 kB / 365.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.04697, allocations: 11.97 kB / 365.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.04698, allocations: 4 kB / 365.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.099e-05/0.04699, allocations: 12.8 kB / 365.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04699, allocations: 0 / 365.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001004/0.04799, allocations: 370.9 kB / 366.2 MB, free: 14.38 MB / 346.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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.007532/0.05552, allocations: 3.668 MB / 369.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.05561, allocations: 48.84 kB / 370 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.05561, allocations: 0 / 370 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.05565, allocations: 44.84 kB / 370 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.05579, allocations: 19.97 kB / 370 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.05635, allocations: 265.5 kB / 370.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.05639, allocations: 67.28 kB / 370.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.05646, allocations: 47.83 kB / 370.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.05652, allocations: 71.36 kB / 370.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.05652, allocations: 0 / 370.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of Templates: time 0.01699/0.07351, allocations: 18.54 MB / 389 MB, free: 7.543 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6188400080427527]