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.0008025/0.0008025, allocations: 84 kB / 21.43 MB, free: 3.129 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.003864/0.003864, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 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 0.8389/0.8389, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.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 1.203e-06/1.203e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.089e-05, allocations: 6.219 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01708/0.0171, allocations: 24.42 MB / 344.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.03148, allocations: 22.03 MB / 366.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.0317, allocations: 4 kB / 366.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.03229, allocations: 278.3 kB / 366.4 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005063/0.0328, allocations: 397.4 kB / 366.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006746/0.03954, allocations: 4.17 MB / 371 MB, free: 2.367 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000724/0.04027, allocations: 0.9616 MB / 371.9 MB, free: 1.402 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.04043, allocations: 81.22 kB / 372 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.0409, allocations: 0.5103 MB / 372.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.04116, allocations: 275.2 kB / 372.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.0412, allocations: 36 kB / 372.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.05135, allocations: 10.16 MB / 383 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.05147, allocations: 111.6 kB / 383.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.05162, allocations: 163.7 kB / 383.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.06567, allocations: 12 MB / 395.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.06568, allocations: 4 kB / 395.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.06568, allocations: 0 / 395.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.06569, allocations: 4 kB / 395.3 MB, free: 10.03 MB / 362.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.004241/0.06993, allocations: 1.086 MB / 396.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.06997, allocations: 12.92 kB / 396.4 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.0703, allocations: 63.73 kB / 396.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.0707, allocations: 268.6 kB / 396.7 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.07072, allocations: 28.59 kB / 396.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.07077, allocations: 32 kB / 396.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.07139, allocations: 0.6074 MB / 397.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.0714, allocations: 0 / 397.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.07143, allocations: 23.92 kB / 397.4 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.07144, allocations: 8 kB / 397.4 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.07189, allocations: 386.2 kB / 397.8 MB, free: 7.391 MB / 362.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.001932/0.07382, allocations: 2.168 MB / 399.9 MB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.07421, allocations: 278.8 kB / 400.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.07435, allocations: 133.3 kB / 400.3 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.07505, allocations: 467.5 kB / 400.8 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.07507, allocations: 42.5 kB / 400.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.143e-06/0.07507, allocations: 0 / 400.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.002688/0.07776, allocations: 1.131 MB / 402 MB, free: 3.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.07778, allocations: 55.41 kB / 402 MB, free: 2.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.07794, allocations: 235.9 kB / 402.3 MB, free: 2.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.07796, allocations: 33.7 kB / 402.3 MB, free: 2.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.07805, allocations: 192.4 kB / 402.5 MB, free: 2.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.07811, allocations: 122.9 kB / 402.6 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.07819, allocations: 94.12 kB / 402.7 MB, free: 2.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.07828, allocations: 342.8 kB / 403 MB, free: 1.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.0784, allocations: 113 kB / 403.1 MB, free: 1.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.07859, allocations: 226.7 kB / 403.4 MB, free: 1.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.07892, allocations: 369.5 kB / 403.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.07892, allocations: 0 / 403.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005029/0.07943, allocations: 454.9 kB / 404.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.07944, allocations: 8 kB / 404.2 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.07945, allocations: 8 kB / 404.2 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.08152, allocations: 233.4 kB / 404.4 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.08169, allocations: 92.23 kB / 404.5 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009659/0.08266, allocations: 1.816 MB / 406.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.08275, allocations: 19.94 kB / 406.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.08277, allocations: 12 kB / 406.3 MB, free: 14.39 MB / 378.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.0001321/0.0829, allocations: 170.3 kB / 406.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.08294, allocations: 32.05 kB / 406.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.0836, allocations: 0.7058 MB / 407.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.08361, allocations: 8 kB / 407.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.08361, allocations: 4 kB / 407.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000558/0.08417, allocations: 0.8799 MB / 408.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/0.08508, allocations: 1.083 MB / 409.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.08508, allocations: 0 / 409.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.08522, allocations: 67.89 kB / 409.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/0.0859, allocations: 176.5 kB / 409.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.08592, allocations: 8 kB / 409.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000257/0.08618, allocations: 0.5796 MB / 410.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.08618, allocations: 4.031 kB / 410.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.08681, allocations: 0.7399 MB / 410.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.08684, allocations: 31.98 kB / 410.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.08687, allocations: 15.94 kB / 410.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.08696, allocations: 8 kB / 410.8 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.08699, allocations: 27.89 kB / 410.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.087, allocations: 12 kB / 410.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.08714, allocations: 197.2 kB / 411.1 MB, free: 9.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08714, allocations: 7.938 kB / 411.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003213/0.09035, allocations: 0.7402 MB / 411.8 MB, free: 8.707 MB / 378.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.01428/0.1046, allocations: 6.504 MB / 418.3 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.1053, allocations: 478.4 kB / 418.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1053, allocations: 0 / 418.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.1056, allocations: 221.2 kB / 419 MB, free: 1.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.1061, allocations: 169.1 kB / 419.2 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1072, allocations: 0.8576 MB / 420 MB, free: 448 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.1073, allocations: 204.9 kB / 420.2 MB, free: 228 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.1074, allocations: 44.48 kB / 420.3 MB, free: 180 kB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1074, allocations: 0 / 420.3 MB, free: 180 kB / 378.7 MB Notification: Performance of Templates: time 0.02244/0.1298, allocations: 29.36 MB / 449.6 MB, free: 2.789 MB / 410.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: 6.870329445227981]