Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.001142/0.001142, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001621/0.001621, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8857/0.8857, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.723e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0135/0.01352, allocations: 10.64 MB / 262.1 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006569/0.02009, allocations: 9.056 MB / 271.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.02023, allocations: 7.938 kB / 271.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.02061, allocations: 147.1 kB / 271.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.02106, allocations: 397.5 kB / 271.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.02363, allocations: 1.887 MB / 273.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006305/0.02426, allocations: 0.993 MB / 274.6 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.02441, allocations: 77.23 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.0248, allocations: 0.4911 MB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.02503, allocations: 287.1 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.02507, allocations: 36 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005097/0.03017, allocations: 5.321 MB / 280.8 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.03026, allocations: 111.6 kB / 280.9 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.03038, allocations: 175.7 kB / 281.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006429/0.03681, allocations: 4.908 MB / 286 MB, free: 4.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.03681, allocations: 4 kB / 286 MB, free: 4.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.03682, allocations: 0 / 286 MB, free: 4.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.03682, allocations: 0 / 286 MB, free: 4.609 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.001479/0.0383, allocations: 0.8606 MB / 286.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.03834, allocations: 11.98 kB / 286.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.03866, allocations: 139.2 kB / 287 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.03893, allocations: 263.3 kB / 287.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.03895, allocations: 24.66 kB / 287.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.03899, allocations: 39.94 kB / 287.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.03945, allocations: 0.51 MB / 287.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.03946, allocations: 0 / 287.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.03949, allocations: 16 kB / 287.8 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.0395, allocations: 8 kB / 287.8 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.03976, allocations: 212.2 kB / 288.1 MB, free: 2.387 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.001888/0.04165, allocations: 2.524 MB / 290.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.04195, allocations: 203.2 kB / 290.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.04203, allocations: 83.77 kB / 290.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.04228, allocations: 163.8 kB / 291 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.0423, allocations: 37.39 kB / 291.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.0423, allocations: 0 / 291.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002343/0.04465, allocations: 0.9025 MB / 292 MB, free: 14.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.04467, allocations: 55.41 kB / 292 MB, free: 14.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.04481, allocations: 278.5 kB / 292.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.04483, allocations: 33.7 kB / 292.3 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.04492, allocations: 251 kB / 292.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.04498, allocations: 118.9 kB / 292.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.04506, allocations: 103.8 kB / 292.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.04518, allocations: 0.504 MB / 293.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.04524, allocations: 52.95 kB / 293.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.04537, allocations: 211.8 kB / 293.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.04558, allocations: 302.7 kB / 293.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.04558, allocations: 0 / 293.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003711/0.04595, allocations: 364.3 kB / 294.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.04597, allocations: 4 kB / 294.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.04597, allocations: 4 kB / 294.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.04796, allocations: 239.5 kB / 294.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.04813, allocations: 87.89 kB / 294.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.05828, allocations: 9.11 MB / 303.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.05838, allocations: 16 kB / 303.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.0584, allocations: 16 kB / 303.7 MB, free: 1.758 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 0.0001076/0.05851, allocations: 184.4 kB / 303.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.05856, allocations: 35.86 kB / 303.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.05901, allocations: 472.3 kB / 304.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.05902, allocations: 4 kB / 304.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.05902, allocations: 4 kB / 304.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003649/0.05939, allocations: 0.629 MB / 305 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.0601, allocations: 0.8 MB / 305.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.0601, allocations: 0 / 305.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.06023, allocations: 67.91 kB / 305.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006984/0.06093, allocations: 187.3 kB / 306 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.06094, allocations: 8 kB / 306 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008466/0.06179, allocations: 1.763 MB / 307.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.06179, allocations: 48 / 307.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.06226, allocations: 0.5508 MB / 308.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.06229, allocations: 23.81 kB / 308.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.06231, allocations: 11.94 kB / 308.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.0624, allocations: 12 kB / 308.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.06243, allocations: 24.08 kB / 308.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.06244, allocations: 15.98 kB / 308.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.06253, allocations: 209 kB / 308.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06253, allocations: 0 / 308.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00112/0.06365, allocations: 367.2 kB / 309 MB, free: 12.12 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 ($cse5.phase,$cse6,$cse7.phase,$cse8) * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007068/0.07072, allocations: 3.488 MB / 312.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.07112, allocations: 406.3 kB / 312.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.07112, allocations: 0 / 312.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.07133, allocations: 304.1 kB / 313.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.07182, allocations: 163.5 kB / 313.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.07295, allocations: 0.7836 MB / 314.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.07301, allocations: 111 kB / 314.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.07321, allocations: 162.6 kB / 314.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.07346, allocations: 210.1 kB / 314.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.07346, allocations: 0 / 314.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of Templates: time 0.01971/0.09317, allocations: 21.88 MB / 336.5 MB, free: 0.5156 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.042831170838326]