Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.001944/0.001944, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002456/0.002456, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.735e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.177/0.1771, allocations: 34.52 MB / 306.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03037/0.2074, allocations: 27.12 MB / 334 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.208, allocations: 7.938 kB / 334 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.2095, allocations: 385.6 kB / 334.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.211, allocations: 0.555 MB / 334.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01608/0.227, allocations: 5.342 MB / 340.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00204/0.2291, allocations: 1.374 MB / 341.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.2294, allocations: 127.5 kB / 341.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.2308, allocations: 0.7323 MB / 342.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.2316, allocations: 402.8 kB / 342.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.2317, allocations: 56 kB / 342.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02497/0.2566, allocations: 12.47 MB / 355.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.257, allocations: 167.4 kB / 355.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006447/0.2576, allocations: 243.6 kB / 355.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05045/0.3081, allocations: 15.57 MB / 371.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3081, allocations: 0 / 371.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3081, allocations: 0 / 371.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.3081, allocations: 4 kB / 371.4 MB, free: 13.62 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01153/0.3197, allocations: 1.388 MB / 372.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3197, allocations: 8.031 kB / 372.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3212, allocations: 194.8 kB / 373 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3222, allocations: 336.2 kB / 373.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.3223, allocations: 40.98 kB / 373.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3224, allocations: 51.95 kB / 373.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.3246, allocations: 0.8252 MB / 374.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.3247, allocations: 0 / 374.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3248, allocations: 20 kB / 374.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3248, allocations: 12 kB / 374.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.3265, allocations: 0.5268 MB / 374.8 MB, free: 10.08 MB / 330.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.006343/0.3329, allocations: 2.74 MB / 377.5 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.3343, allocations: 401.2 kB / 377.9 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.3349, allocations: 193.5 kB / 378.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003025/0.3379, allocations: 0.6285 MB / 378.7 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.3379, allocations: 38.94 kB / 378.8 MB, free: 5.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.365e-06/0.3379, allocations: 0 / 378.8 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=54): time 0.01642/0.3544, allocations: 1.931 MB / 380.7 MB, free: 4.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3544, allocations: 63.91 kB / 380.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.3549, allocations: 281.7 kB / 381 MB, free: 3.664 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.355, allocations: 33.7 kB / 381.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.3553, allocations: 237 kB / 381.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.3555, allocations: 202.3 kB / 381.5 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.3558, allocations: 118.3 kB / 381.6 MB, free: 3.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.3561, allocations: 350.7 kB / 381.9 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.3566, allocations: 177.2 kB / 382.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007488/0.3574, allocations: 336.1 kB / 382.4 MB, free: 2.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3587, allocations: 0.5465 MB / 383 MB, free: 1.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3587, allocations: 4 kB / 383 MB, free: 1.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002354/0.3611, allocations: 0.717 MB / 383.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.3611, allocations: 8 kB / 383.7 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.3611, allocations: 4 kB / 383.7 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01927/0.3804, allocations: 474.5 kB / 384.2 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.3813, allocations: 139.8 kB / 384.3 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.3853, allocations: 2.971 MB / 387.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.3858, allocations: 16.06 kB / 387.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.3859, allocations: 32 kB / 387.3 MB, free: 13 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004207/0.3863, allocations: 189.6 kB / 387.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.3868, allocations: 83.45 kB / 387.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.3896, allocations: 1.078 MB / 388.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.3896, allocations: 11.98 kB / 388.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3896, allocations: 0 / 388.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002185/0.3918, allocations: 1.118 MB / 389.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.3955, allocations: 1.596 MB / 391.4 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.3955, allocations: 0 / 391.4 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.3961, allocations: 103.9 kB / 391.5 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00472/0.4008, allocations: 349.1 kB / 391.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.4009, allocations: 12.88 kB / 391.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.4022, allocations: 1.155 MB / 393 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4022, allocations: 192 / 393 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/0.4052, allocations: 1.179 MB / 394.2 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.4053, allocations: 47.69 kB / 394.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4054, allocations: 12 kB / 394.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.4059, allocations: 14.94 kB / 394.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.406, allocations: 36.42 kB / 394.3 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/0.406, allocations: 24 kB / 394.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000422/0.4065, allocations: 227 kB / 394.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4065, allocations: 0 / 394.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007827/0.4143, allocations: 0.9779 MB / 395.5 MB, free: 4.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.03785/0.4521, allocations: 8.015 MB / 403.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.4541, allocations: 0.7003 MB / 404.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4541, allocations: 0 / 404.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.4549, allocations: 355.1 kB / 404.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.4563, allocations: 251 kB / 404.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.4589, allocations: 1.238 MB / 406.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4592, allocations: 260.7 kB / 406.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000565/0.4598, allocations: 230.1 kB / 406.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.4599, allocations: 56.48 kB / 406.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4599, allocations: 0 / 406.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of Templates: time 0.1826/0.6425, allocations: 36.02 MB / 442.6 MB, free: 118.9 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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: 8.092397277941927]