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.00124/0.00124, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002575/0.003816, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001004/0.001004, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002561, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8707/0.8707, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1401/1.011, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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 2.565e-06/2.565e-06, allocations: 4 kB / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094e-05/1.351e-05, allocations: 2.312 kB / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01386/0.01387, allocations: 10.74 MB / 250.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.02404, allocations: 9.219 MB / 259.7 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.02421, allocations: 11.94 kB / 259.7 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.02458, allocations: 147.1 kB / 259.9 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.0252, allocations: 393.5 kB / 260.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.02882, allocations: 1.815 MB / 262.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009241/0.02975, allocations: 0.9851 MB / 263.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.02992, allocations: 89.06 kB / 263.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.03056, allocations: 0.5186 MB / 263.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.0309, allocations: 255.2 kB / 263.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.03096, allocations: 40 kB / 263.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006648/0.03761, allocations: 5.426 MB / 269.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.619e-05/0.0377, allocations: 99.72 kB / 269.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.03783, allocations: 143.8 kB / 269.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006277/0.04411, allocations: 4.701 MB / 274.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.04412, allocations: 0 / 274.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.04412, allocations: 0 / 274.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.04413, allocations: 0 / 274.3 MB, free: 3.723 MB / 266.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.002027/0.04616, allocations: 1.457 MB / 275.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.04618, allocations: 12.03 kB / 275.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.04652, allocations: 212.3 kB / 276 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.04676, allocations: 220.6 kB / 276.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.04678, allocations: 24.66 kB / 276.2 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.04682, allocations: 36 kB / 276.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.04723, allocations: 0.4968 MB / 276.8 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.04725, allocations: 0 / 276.8 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.04727, allocations: 16 kB / 276.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.04728, allocations: 8 kB / 276.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.04751, allocations: 199.1 kB / 277 MB, free: 0.9102 MB / 266.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.001499/0.04901, allocations: 1.94 MB / 278.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.04927, allocations: 178.4 kB / 279.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.04933, allocations: 76.75 kB / 279.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.04955, allocations: 135.9 kB / 279.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.04957, allocations: 38.56 kB / 279.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.362e-06/0.04958, allocations: 0 / 279.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002545/0.05212, allocations: 0.9471 MB / 280.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.05214, allocations: 55.41 kB / 280.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.05225, allocations: 215.4 kB / 280.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.05227, allocations: 33.7 kB / 280.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.05233, allocations: 184.3 kB / 280.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.05239, allocations: 130.9 kB / 280.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.05245, allocations: 78.14 kB / 281 MB, free: 12.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003028/0.05276, allocations: 342.8 kB / 281.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.0528, allocations: 36.98 kB / 281.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.0529, allocations: 170.5 kB / 281.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.05308, allocations: 260.8 kB / 281.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.05308, allocations: 8 kB / 281.8 MB, free: 11.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002642/0.05335, allocations: 270.8 kB / 282 MB, free: 11.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.05336, allocations: 4 kB / 282 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.05337, allocations: 4.438 kB / 282 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.05518, allocations: 217.4 kB / 282.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.05539, allocations: 103.9 kB / 282.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006628/0.05605, allocations: 1.703 MB / 284.1 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.05614, allocations: 12 kB / 284.1 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.05616, allocations: 12 kB / 284.1 MB, free: 9.406 MB / 282.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 8.426e-05/0.05624, allocations: 140.5 kB / 284.2 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.05628, allocations: 31.91 kB / 284.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.05663, allocations: 435.4 kB / 284.7 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.05664, allocations: 11.92 kB / 284.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.05664, allocations: 0 / 284.7 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002598/0.0569, allocations: 0.5686 MB / 285.3 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.05744, allocations: 0.6621 MB / 285.9 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.05744, allocations: 0 / 285.9 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.0576, allocations: 79.83 kB / 286 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.05762, allocations: 27.75 kB / 286 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/0.05819, allocations: 159.4 kB / 286.2 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.05821, allocations: 15.98 kB / 286.2 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001608/0.05837, allocations: 0.5189 MB / 286.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.05837, allocations: 0 / 286.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.05868, allocations: 479.3 kB / 287.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.05871, allocations: 15.89 kB / 287.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.05879, allocations: 8 kB / 287.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.05881, allocations: 28.05 kB / 287.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.05882, allocations: 8 kB / 287.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.942e-05/0.05888, allocations: 86.75 kB / 287.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05888, allocations: 0 / 287.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009363/0.05982, allocations: 367.2 kB / 287.7 MB, free: 5.602 MB / 282.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.008766/0.06858, allocations: 3.493 MB / 291.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.06899, allocations: 328.9 kB / 291.5 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.06901, allocations: 7.938 kB / 291.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.06921, allocations: 143.4 kB / 291.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.06996, allocations: 0.755 MB / 292.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/0.0766, allocations: 0.7982 MB / 293.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/0.07668, allocations: 114.8 kB / 293.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.07693, allocations: 165.3 kB / 293.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.07722, allocations: 167.2 kB / 293.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.07723, allocations: 0 / 293.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Templates: time 0.02554/0.1028, allocations: 21.63 MB / 315.3 MB, free: 9.922 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6240319553762674]