Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 145 kB / 25.59 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9082/0.9082, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.997e-06/3.997e-06, allocations: 4 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.648e-05, allocations: 2.312 kB / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01528/0.01531, allocations: 10.64 MB / 279.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.02628, allocations: 9.048 MB / 288.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.02659, allocations: 4 kB / 288.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.02714, allocations: 155 kB / 289 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.02795, allocations: 389.5 kB / 289.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007043/0.03499, allocations: 1.889 MB / 291.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000879/0.03587, allocations: 0.9968 MB / 292.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.03603, allocations: 81.22 kB / 292.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.03648, allocations: 0.4911 MB / 292.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.03675, allocations: 283.2 kB / 293.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.03679, allocations: 40 kB / 293.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/0.04263, allocations: 5.321 MB / 298.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.04293, allocations: 119.6 kB / 298.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.04317, allocations: 175.7 kB / 298.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006991/0.05016, allocations: 4.892 MB / 303.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.05016, allocations: 0 / 303.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.05016, allocations: 4 kB / 303.7 MB, free: 7.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.05017, allocations: 0 / 303.7 MB, free: 7.172 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002277/0.05245, allocations: 0.8683 MB / 304.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.05249, allocations: 12.02 kB / 304.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.05285, allocations: 139.2 kB / 304.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.05313, allocations: 251.4 kB / 305 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.05315, allocations: 24.66 kB / 305 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.05319, allocations: 39.94 kB / 305 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.05367, allocations: 0.51 MB / 305.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.05368, allocations: 4 kB / 305.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.05371, allocations: 16 kB / 305.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.05372, allocations: 8 kB / 305.6 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.054, allocations: 208.2 kB / 305.8 MB, free: 4.961 MB / 282.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.001963/0.05596, allocations: 2.528 MB / 308.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.05631, allocations: 197.8 kB / 308.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.05642, allocations: 79.62 kB / 308.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/0.05677, allocations: 143.9 kB / 308.7 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.0568, allocations: 41.38 kB / 308.7 MB, free: 1.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.0568, allocations: 0 / 308.7 MB, free: 1.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.003707/0.06051, allocations: 0.8908 MB / 309.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.06054, allocations: 55.41 kB / 309.7 MB, free: 0.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.06072, allocations: 278.4 kB / 310 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.06075, allocations: 29.7 kB / 310 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.06086, allocations: 247.1 kB / 310.2 MB, free: 308 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.06094, allocations: 126.9 kB / 310.4 MB, free: 180 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.06105, allocations: 91.81 kB / 310.4 MB, free: 80 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.0612, allocations: 0.504 MB / 311 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.06128, allocations: 52.95 kB / 311 MB, free: 15.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.06146, allocations: 215.8 kB / 311.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.06176, allocations: 306.6 kB / 311.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.06176, allocations: 0 / 311.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005149/0.06228, allocations: 348.9 kB / 311.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.0623, allocations: 11.94 kB / 311.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.06231, allocations: 4 kB / 311.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.06543, allocations: 223.5 kB / 312.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.06568, allocations: 91.83 kB / 312.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.0669, allocations: 2.518 MB / 314.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.06706, allocations: 16 kB / 314.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.06708, allocations: 20.17 kB / 314.7 MB, free: 11.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.06723, allocations: 188.4 kB / 314.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.0673, allocations: 35.86 kB / 315 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.0679, allocations: 452.2 kB / 315.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.06791, allocations: 7.938 kB / 315.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.06792, allocations: 3.938 kB / 315.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004575/0.06837, allocations: 0.6096 MB / 316 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.06967, allocations: 0.7803 MB / 316.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.06967, allocations: 4 kB / 316.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.06986, allocations: 63.91 kB / 316.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009251/0.07078, allocations: 163.3 kB / 317 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.0708, allocations: 11.94 kB / 317 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002848/0.07109, allocations: 0.8 MB / 317.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.07109, allocations: 0 / 317.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.07161, allocations: 0.52 MB / 318.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.07165, allocations: 27.75 kB / 318.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.07168, allocations: 12 kB / 318.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.07181, allocations: 7.984 kB / 318.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.07184, allocations: 27.95 kB / 318.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.07186, allocations: 8 kB / 318.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.07198, allocations: 209.1 kB / 318.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07198, allocations: 4.094 kB / 318.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001884/0.07386, allocations: 379.1 kB / 319 MB, free: 6.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009927/0.08379, allocations: 3.465 MB / 322.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006346/0.08442, allocations: 409.3 kB / 322.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.08442, allocations: 0 / 322.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.08463, allocations: 137 kB / 323 MB, free: 2.941 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.08538, allocations: 169.1 kB / 323.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.08701, allocations: 0.7739 MB / 323.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.981e-05/0.08709, allocations: 115 kB / 324.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.08738, allocations: 166 kB / 324.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.08769, allocations: 202.1 kB / 324.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.08769, allocations: 0 / 324.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of Templates: time 0.1255/0.2132, allocations: 21.62 MB / 346 MB, free: 59.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.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: 4.057941621169448]