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.001512/0.001512, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001299/0.001299, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2566/0.2566, allocations: 34.26 MB / 296.1 MB, free: 0.6758 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.993e-06/1.993e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.346e-05, allocations: 4.109 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01449/0.01452, allocations: 8.542 MB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.03075, allocations: 12.83 MB / 346.6 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.03082, allocations: 4 kB / 346.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.03107, allocations: 31.81 kB / 346.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005145/0.03622, allocations: 2.053 MB / 348.7 MB, free: 120 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.851e-06/0.03622, allocations: 4 kB / 348.7 MB, free: 116 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.404e-05/0.03632, allocations: 59.55 kB / 348.8 MB, free: 56 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.03636, allocations: 0 / 348.8 MB, free: 56 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.0365, allocations: 43.77 kB / 348.8 MB, free: 12 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.03655, allocations: 20.05 kB / 348.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.03656, allocations: 0 / 348.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009741/0.04631, allocations: 6.031 MB / 354.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.04633, allocations: 4 kB / 354.9 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.04638, allocations: 19.94 kB / 354.9 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.05744, allocations: 5.072 MB / 360 MB, free: 4.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.05745, allocations: 0 / 360 MB, free: 4.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.05745, allocations: 3.938 kB / 360 MB, free: 4.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.05745, allocations: 0 / 360 MB, free: 4.84 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.00319/0.06064, allocations: 0.5368 MB / 360.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.06069, allocations: 8.031 kB / 360.5 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.06087, allocations: 31.86 kB / 360.6 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.06098, allocations: 109.2 kB / 360.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.061, allocations: 0 / 360.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.06101, allocations: 12 kB / 360.7 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.0613, allocations: 93.72 kB / 360.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.06131, allocations: 0 / 360.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.06132, allocations: 4 kB / 360.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.06133, allocations: 7.875 kB / 360.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.06148, allocations: 55.89 kB / 360.8 MB, free: 3.926 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.0004347/0.06192, allocations: 225.8 kB / 361.1 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.06209, allocations: 66.41 kB / 361.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.06212, allocations: 16.86 kB / 361.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005067/0.06719, allocations: 3.12 MB / 364.3 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.06722, allocations: 34.5 kB / 364.3 MB, free: 436 kB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.475e-06/0.06722, allocations: 4 kB / 364.3 MB, free: 432 kB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003223/0.06755, allocations: 113.4 kB / 364.4 MB, free: 312 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.06757, allocations: 51.41 kB / 364.5 MB, free: 248 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.06764, allocations: 102.7 kB / 364.6 MB, free: 132 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.06765, allocations: 25.7 kB / 364.6 MB, free: 100 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.06769, allocations: 92.03 kB / 364.7 MB, free: 4 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.06773, allocations: 24.03 kB / 364.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.06776, allocations: 21.7 kB / 364.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.06785, allocations: 318.8 kB / 365 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.06787, allocations: 8 kB / 365 MB, free: 15.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.0679, allocations: 29.69 kB / 365.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.06796, allocations: 45.64 kB / 365.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.06796, allocations: 0 / 365.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.06807, allocations: 73.53 kB / 365.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.06809, allocations: 7.75 kB / 365.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.0681, allocations: 0.5469 kB / 365.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.06811, allocations: 0 / 365.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.06818, allocations: 31.95 kB / 365.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.06818, allocations: 0 / 365.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.06821, allocations: 3.953 kB / 365.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.06822, allocations: 4 kB / 365.2 MB, free: 15.41 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 7.587e-05/0.06829, allocations: 109.8 kB / 365.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.06834, allocations: 11.88 kB / 365.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.06856, allocations: 201.6 kB / 365.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.06857, allocations: 0 / 365.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.06857, allocations: 0 / 365.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.06858, allocations: 0 / 365.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.06873, allocations: 117.7 kB / 365.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.06873, allocations: 0 / 365.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.06878, allocations: 19.98 kB / 365.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.06878, allocations: 4 kB / 365.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.06879, allocations: 4 kB / 365.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.06879, allocations: 3.938 kB / 365.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.06879, allocations: 4 kB / 365.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.06896, allocations: 230.2 kB / 365.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.06897, allocations: 12.08 kB / 365.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.06898, allocations: 3.984 kB / 365.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.06902, allocations: 11.94 kB / 366 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.06906, allocations: 11.97 kB / 366 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.06907, allocations: 4 kB / 366 MB, free: 14.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.294e-05/0.06908, allocations: 12.84 kB / 366 MB, free: 14.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06908, allocations: 0 / 366 MB, free: 14.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001642/0.07072, allocations: 367 kB / 366.3 MB, free: 14.26 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.009546/0.08027, allocations: 3.663 MB / 370 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.08045, allocations: 52.78 kB / 370.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.08045, allocations: 0 / 370.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.253e-05/0.0805, allocations: 40.91 kB / 370.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.08073, allocations: 22.17 kB / 370.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.08145, allocations: 273.4 kB / 370.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.08149, allocations: 63.34 kB / 370.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.08159, allocations: 54.17 kB / 370.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.08167, allocations: 71.36 kB / 370.6 MB, free: 9.969 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.08168, allocations: 0 / 370.6 MB, free: 9.969 MB / 346.7 MB Notification: Performance of Templates: time 0.02123/0.1029, allocations: 18.53 MB / 389.1 MB, free: 7.426 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 -s gbode -gbm=radauIIA3 -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.7695319070480764]