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.001439/0.001439, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.001469/0.001469, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 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 1.441/1.441, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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 1.323e-06/1.323e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.404e-05, allocations: 6.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1435/0.1435, allocations: 24.44 MB / 291.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.165, allocations: 22.03 MB / 313.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.1653, allocations: 8.562 kB / 313.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.1661, allocations: 277.7 kB / 314.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.1668, allocations: 396.9 kB / 314.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.1777, allocations: 4.164 MB / 318.6 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000942/0.1786, allocations: 0.9529 MB / 319.6 MB, free: 3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1788, allocations: 84.67 kB / 319.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.1794, allocations: 0.5173 MB / 320.2 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.1797, allocations: 276.9 kB / 320.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.1797, allocations: 37.44 kB / 320.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01894/0.1987, allocations: 10.17 MB / 330.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.199, allocations: 107.6 kB / 330.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004873/0.1995, allocations: 171.7 kB / 330.9 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03277/0.2322, allocations: 12 MB / 342.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2322, allocations: 0 / 342.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2322, allocations: 0.8125 kB / 342.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.2323, allocations: 0 / 342.9 MB, free: 12.72 MB / 298.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.006256/0.2385, allocations: 1.096 MB / 344 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2386, allocations: 12.92 kB / 344 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006964/0.2392, allocations: 144.4 kB / 344.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.2398, allocations: 261.9 kB / 344.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.2398, allocations: 24.66 kB / 344.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/0.2399, allocations: 36 kB / 344.5 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2409, allocations: 0.6035 MB / 345.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.241, allocations: 12.56 kB / 345.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.241, allocations: 15.94 kB / 345.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.241, allocations: 8 kB / 345.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.2418, allocations: 387.6 kB / 345.5 MB, free: 10.01 MB / 298.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.003568/0.2454, allocations: 2.175 MB / 347.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.2461, allocations: 286.7 kB / 348 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.2464, allocations: 126.2 kB / 348.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/0.2479, allocations: 468.7 kB / 348.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.248, allocations: 38.56 kB / 348.6 MB, free: 6.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.248, allocations: 1.344 kB / 348.6 MB, free: 6.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.005407/0.2534, allocations: 1.152 MB / 349.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2534, allocations: 55.41 kB / 349.8 MB, free: 5.598 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.2537, allocations: 239.9 kB / 350 MB, free: 5.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.2538, allocations: 37.64 kB / 350.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2539, allocations: 192.4 kB / 350.2 MB, free: 5.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2541, allocations: 132.6 kB / 350.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2542, allocations: 86.14 kB / 350.5 MB, free: 4.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.2544, allocations: 334.8 kB / 350.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.2546, allocations: 109 kB / 350.9 MB, free: 4.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.255, allocations: 230.6 kB / 351.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.2555, allocations: 370.6 kB / 351.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2555, allocations: 4 kB / 351.5 MB, free: 3.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009549/0.2565, allocations: 479.2 kB / 352 MB, free: 3.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2565, allocations: 9.719 kB / 352 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2565, allocations: 4 kB / 352 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004974/0.2615, allocations: 234.8 kB / 352.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.2619, allocations: 87.89 kB / 352.3 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.2638, allocations: 1.825 MB / 354.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.264, allocations: 12 kB / 354.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.264, allocations: 27.92 kB / 354.1 MB, free: 0.9727 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 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.000246/0.2643, allocations: 161.7 kB / 354.3 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2644, allocations: 35.86 kB / 354.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.2656, allocations: 0.7132 MB / 355.1 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.2656, allocations: 8.188 kB / 355.1 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2656, allocations: 0 / 355.1 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/0.2668, allocations: 0.8801 MB / 355.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.2685, allocations: 1.09 MB / 357 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2685, allocations: 0 / 357 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.2688, allocations: 63.91 kB / 357.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.2705, allocations: 180.5 kB / 357.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.2705, allocations: 8 kB / 357.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004982/0.271, allocations: 0.5874 MB / 357.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.271, allocations: 0 / 357.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2722, allocations: 0.7441 MB / 358.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2723, allocations: 27.78 kB / 358.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.2723, allocations: 15.94 kB / 358.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.2725, allocations: 8 kB / 358.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.2726, allocations: 32.05 kB / 358.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.2726, allocations: 11.98 kB / 358.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.2729, allocations: 201.2 kB / 358.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2729, allocations: 0 / 358.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004496/0.2774, allocations: 0.7442 MB / 359.6 MB, free: 11.28 MB / 314.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.02725/0.3046, allocations: 6.514 MB / 366.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.3058, allocations: 474.7 kB / 366.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3058, allocations: 0 / 366.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.3063, allocations: 213.5 kB / 366.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3073, allocations: 174.7 kB / 367 MB, free: 3.906 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.309, allocations: 0.8299 MB / 367.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3093, allocations: 204.9 kB / 368 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004415/0.3097, allocations: 188.9 kB / 368.2 MB, free: 2.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3098, allocations: 36.48 kB / 368.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3098, allocations: 0 / 368.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of Templates: time 0.04953/0.3593, allocations: 28.78 MB / 397 MB, free: 5.918 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.298466376028955]