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.001035/0.001035, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002513, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001037/0.001037, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002377, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08534/1.087, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2508/0.2508, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02341/0.2743, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.202e-06/1.202e-06, allocations: 0 / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.507e-05, allocations: 3.734 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.008916/0.008931, allocations: 8.576 MB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.02056, allocations: 12.87 MB / 314 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.02061, allocations: 0 / 314 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.02075, allocations: 43.75 kB / 314.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006371/0.02712, allocations: 2.048 MB / 316.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.981e-06/0.02713, allocations: 0 / 316.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.02723, allocations: 59.59 kB / 316.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.02727, allocations: 0 / 316.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.02742, allocations: 43.78 kB / 316.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.02746, allocations: 19.97 kB / 316.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.02747, allocations: 4 kB / 316.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.0375, allocations: 6.042 MB / 322.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.03752, allocations: 7.938 kB / 322.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.03757, allocations: 8 kB / 322.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009876/0.04744, allocations: 4.83 MB / 327.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.211e-05/0.04747, allocations: 0 / 327.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.04747, allocations: 0 / 327.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.04749, allocations: 3.938 kB / 327.2 MB, free: 3.668 MB / 314.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.002759/0.05025, allocations: 1.283 MB / 328.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.05028, allocations: 8.031 kB / 328.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.05039, allocations: 27.92 kB / 328.5 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.466e-05/0.05046, allocations: 113.1 kB / 328.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.05048, allocations: 4 kB / 328.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.05048, allocations: 4 kB / 328.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.05066, allocations: 101.1 kB / 328.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.05067, allocations: 3.984 kB / 328.7 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.05068, allocations: 4 kB / 328.7 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.05068, allocations: 7.938 kB / 328.7 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.05076, allocations: 54.19 kB / 328.8 MB, free: 1.984 MB / 314.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.0003015/0.05107, allocations: 233.7 kB / 329 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.05117, allocations: 50.55 kB / 329 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.05119, allocations: 16.86 kB / 329.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004168/0.05535, allocations: 3.105 MB / 332.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.05538, allocations: 46.42 kB / 332.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.05538, allocations: 0 / 332.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002491/0.05563, allocations: 113.4 kB / 332.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.05566, allocations: 51.41 kB / 332.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.05571, allocations: 106.7 kB / 332.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.05572, allocations: 25.7 kB / 332.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.05575, allocations: 92.03 kB / 332.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.05577, allocations: 19.84 kB / 332.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.0558, allocations: 25.7 kB / 332.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.05587, allocations: 314.8 kB / 332.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.05589, allocations: 15.98 kB / 333 MB, free: 13.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.05591, allocations: 21.72 kB / 333 MB, free: 13.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.05595, allocations: 42.09 kB / 333 MB, free: 13.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.05595, allocations: 4 kB / 333 MB, free: 13.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.866e-05/0.05604, allocations: 73.53 kB / 333.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.05606, allocations: 11.94 kB / 333.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.05606, allocations: 8.031 kB / 333.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.05607, allocations: 0 / 333.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.05614, allocations: 23.98 kB / 333.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.05614, allocations: 0 / 333.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.05616, allocations: 4 kB / 333.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.05617, allocations: 3.984 kB / 333.1 MB, free: 13.48 MB / 330.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 6.187e-05/0.05623, allocations: 113.8 kB / 333.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.05627, allocations: 15.83 kB / 333.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.05647, allocations: 197.4 kB / 333.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.05647, allocations: 4.188 kB / 333.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.05647, allocations: 0 / 333.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.05648, allocations: 7.969 kB / 333.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.05661, allocations: 101.8 kB / 333.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.05661, allocations: 3.938 kB / 333.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.05666, allocations: 23.98 kB / 333.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.05667, allocations: 11.89 kB / 333.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.05667, allocations: 4 kB / 333.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.05668, allocations: 7.922 kB / 333.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.05668, allocations: 4 kB / 333.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.05669, allocations: 0 / 333.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.05685, allocations: 234.2 kB / 333.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.05686, allocations: 0 / 333.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.0569, allocations: 7.938 kB / 333.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.05694, allocations: 11.97 kB / 333.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.05694, allocations: 8 kB / 333.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.162e-05/0.05695, allocations: 8.844 kB / 333.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05695, allocations: 4 kB / 333.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001529/0.05848, allocations: 378.9 kB / 334.3 MB, free: 12.3 MB / 330.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.007225/0.06571, allocations: 3.659 MB / 337.9 MB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.06581, allocations: 56.84 kB / 338 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.06582, allocations: 0 / 338 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.06587, allocations: 47.17 kB / 338 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.06605, allocations: 23.92 kB / 338 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.0678, allocations: 271.2 kB / 338.3 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.06783, allocations: 63.34 kB / 338.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.086e-05/0.06791, allocations: 47.89 kB / 338.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.06798, allocations: 71.34 kB / 338.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.06798, allocations: 0 / 338.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of Templates: time 0.0172/0.08518, allocations: 18.59 MB / 357.1 MB, free: 5.414 MB / 346.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 -ignoreHideResult -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.616044028662145]