Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001858/0.001858, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002284/0.002284, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.695e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1504/0.1504, allocations: 34.51 MB / 306.7 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03111/0.1815, allocations: 27.14 MB / 333.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.1822, allocations: 7.938 kB / 333.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.1834, allocations: 385.6 kB / 334.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1847, allocations: 0.555 MB / 334.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01582/0.2005, allocations: 5.35 MB / 340.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.2028, allocations: 1.378 MB / 341.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.2031, allocations: 119.5 kB / 341.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2043, allocations: 0.7363 MB / 342.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006421/0.205, allocations: 402.8 kB / 342.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.205, allocations: 52 kB / 342.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02556/0.2306, allocations: 12.48 MB / 355.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.2311, allocations: 155.5 kB / 355.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000594/0.2317, allocations: 239.6 kB / 355.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04154/0.2732, allocations: 15.58 MB / 371.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2732, allocations: 0 / 371.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2732, allocations: 3.938 kB / 371.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2732, allocations: 0 / 371.3 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.008338/0.2816, allocations: 1.388 MB / 372.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2816, allocations: 11.98 kB / 372.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009751/0.2826, allocations: 190.8 kB / 372.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.2832, allocations: 332.3 kB / 373.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.2833, allocations: 37 kB / 373.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.2834, allocations: 59.95 kB / 373.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2849, allocations: 0.8174 MB / 374.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2849, allocations: 0 / 374.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/0.285, allocations: 24 kB / 374.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.285, allocations: 12 kB / 374.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.2861, allocations: 0.5229 MB / 374.7 MB, free: 10.07 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.004649/0.2908, allocations: 2.751 MB / 377.4 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2918, allocations: 381.3 kB / 377.8 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.2922, allocations: 199.8 kB / 378 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002273/0.2944, allocations: 0.6324 MB / 378.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.2945, allocations: 47.75 kB / 378.7 MB, free: 5.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.084e-06/0.2945, allocations: 0 / 378.7 MB, free: 5.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=54): time 0.01073/0.3052, allocations: 1.931 MB / 380.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3053, allocations: 55.91 kB / 380.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.3056, allocations: 277.7 kB / 380.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.3057, allocations: 41.7 kB / 381 MB, free: 3.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3059, allocations: 241 kB / 381.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.3061, allocations: 206.2 kB / 381.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3063, allocations: 118.3 kB / 381.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3065, allocations: 346.7 kB / 381.8 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.3069, allocations: 185.2 kB / 382 MB, free: 2.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.3074, allocations: 324.1 kB / 382.3 MB, free: 2.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/0.3083, allocations: 0.5479 MB / 382.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3083, allocations: 4 kB / 382.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001653/0.31, allocations: 0.7182 MB / 383.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.31, allocations: 11.98 kB / 383.6 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.31, allocations: 4 kB / 383.6 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/0.3225, allocations: 466 kB / 384.1 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.3232, allocations: 144 kB / 384.2 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.326, allocations: 2.972 MB / 387.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3263, allocations: 16 kB / 387.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.3264, allocations: 28.44 kB / 387.2 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.0003135/0.3267, allocations: 189.6 kB / 387.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.327, allocations: 87.44 kB / 387.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.3289, allocations: 1.079 MB / 388.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.3289, allocations: 11.98 kB / 388.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3289, allocations: 2.938 kB / 388.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001515/0.3304, allocations: 1.122 MB / 389.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.3331, allocations: 1.593 MB / 391.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3331, allocations: 4 kB / 391.3 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/0.3335, allocations: 99.88 kB / 391.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/0.3368, allocations: 349 kB / 391.8 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.3369, allocations: 19.98 kB / 391.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009766/0.3379, allocations: 1.144 MB / 392.9 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3379, allocations: 0 / 392.9 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.3398, allocations: 1.179 MB / 394.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/0.3399, allocations: 43.83 kB / 394.1 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.34, allocations: 16 kB / 394.2 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.3403, allocations: 12 kB / 394.2 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.3403, allocations: 40.42 kB / 394.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.3404, allocations: 19.98 kB / 394.2 MB, free: 5.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.3407, allocations: 227.1 kB / 394.5 MB, free: 5.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3407, allocations: 0 / 394.5 MB, free: 5.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005724/0.3464, allocations: 0.9779 MB / 395.4 MB, free: 4.586 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.03384/0.3803, allocations: 8.018 MB / 403.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.3821, allocations: 0.6848 MB / 404.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3821, allocations: 0 / 404.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007122/0.3829, allocations: 363.1 kB / 404.5 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.0014/0.3843, allocations: 257.7 kB / 404.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3867, allocations: 1.232 MB / 406 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.387, allocations: 264.7 kB / 406.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005465/0.3876, allocations: 231.9 kB / 406.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3877, allocations: 56.42 kB / 406.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3877, allocations: 0 / 406.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of Templates: time 0.1633/0.551, allocations: 35.98 MB / 442.5 MB, free: 118.9 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.81632682797499]