Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.001262/0.001262, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001374/0.001374, allocations: 160.8 kB / 24.5 MB, free: 3.711 MB / 14.72 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.457/1.457, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 62.22 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1033, allocations: 53.39 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02872/0.132, allocations: 24.72 MB / 403.6 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02732/0.1594, allocations: 22.1 MB / 425.7 MB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004403/0.1598, allocations: 7.938 kB / 425.7 MB, free: 468 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000935/0.1607, allocations: 266.5 kB / 426 MB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008583/0.1616, allocations: 381.9 kB / 426.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.1733, allocations: 4.106 MB / 430.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1747, allocations: 0.9621 MB / 431.4 MB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1749, allocations: 77.17 kB / 431.5 MB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.1755, allocations: 402.6 kB / 431.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.176, allocations: 302.8 kB / 432.2 MB, free: 9.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.964e-05/0.176, allocations: 36 kB / 432.2 MB, free: 9.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0197/0.1957, allocations: 10.14 MB / 442.4 MB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.196, allocations: 111.6 kB / 442.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.1964, allocations: 191.3 kB / 442.7 MB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03308/0.2295, allocations: 11.51 MB / 454.2 MB, free: 3.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2295, allocations: 4 kB / 454.2 MB, free: 3.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2295, allocations: 0 / 454.2 MB, free: 3.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2295, allocations: 0 / 454.2 MB, free: 3.949 MB / 414.1 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.006287/0.2358, allocations: 1.101 MB / 455.3 MB, free: 2.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2358, allocations: 15.92 kB / 455.3 MB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.2365, allocations: 71.73 kB / 455.4 MB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.237, allocations: 260.6 kB / 455.6 MB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.237, allocations: 24.66 kB / 455.7 MB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.2371, allocations: 28 kB / 455.7 MB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2381, allocations: 0.6151 MB / 456.3 MB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.2381, allocations: 3.953 kB / 456.3 MB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.2381, allocations: 12 kB / 456.3 MB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2381, allocations: 8 kB / 456.3 MB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.2389, allocations: 386.3 kB / 456.7 MB, free: 1.301 MB / 414.1 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.003366/0.2423, allocations: 2.172 MB / 458.9 MB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.243, allocations: 280.8 kB / 459.2 MB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.2432, allocations: 132.8 kB / 459.3 MB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.2446, allocations: 467.3 kB / 459.7 MB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.2447, allocations: 38.56 kB / 459.8 MB, free: 14.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.2447, allocations: 0 / 459.8 MB, free: 14.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005535/0.2502, allocations: 1.144 MB / 460.9 MB, free: 12.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2503, allocations: 59.41 kB / 461 MB, free: 12.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.2505, allocations: 236 kB / 461.2 MB, free: 12.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.2506, allocations: 29.7 kB / 461.2 MB, free: 12.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.2507, allocations: 204.4 kB / 461.4 MB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.2508, allocations: 122.9 kB / 461.6 MB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.251, allocations: 78.19 kB / 461.6 MB, free: 12.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2511, allocations: 346.8 kB / 462 MB, free: 11.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2513, allocations: 112.9 kB / 462.1 MB, free: 11.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.2516, allocations: 230.7 kB / 462.3 MB, free: 11.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.2522, allocations: 373.5 kB / 462.7 MB, free: 11.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2522, allocations: 7.938 kB / 462.7 MB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009338/0.2531, allocations: 450.8 kB / 463.1 MB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2532, allocations: 11.94 kB / 463.1 MB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2532, allocations: 4 kB / 463.1 MB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005755/0.2589, allocations: 245.4 kB / 463.4 MB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.2593, allocations: 87.84 kB / 463.5 MB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.2609, allocations: 1.817 MB / 465.3 MB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2611, allocations: 12 kB / 465.3 MB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.2612, allocations: 23.94 kB / 465.3 MB, free: 8.27 MB / 430.1 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.0002122/0.2614, allocations: 161.7 kB / 465.5 MB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.2616, allocations: 32.06 kB / 465.5 MB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.2627, allocations: 0.7057 MB / 466.2 MB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.2627, allocations: 15.88 kB / 466.2 MB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2627, allocations: 0 / 466.2 MB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009408/0.2636, allocations: 0.8799 MB / 467.1 MB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2651, allocations: 1.079 MB / 468.2 MB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2651, allocations: 0 / 468.2 MB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.2654, allocations: 71.97 kB / 468.3 MB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.2669, allocations: 184.4 kB / 468.4 MB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.267, allocations: 8 kB / 468.4 MB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004155/0.2674, allocations: 0.5758 MB / 469 MB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2674, allocations: 3.938 kB / 469 MB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2685, allocations: 0.7432 MB / 469.8 MB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.2685, allocations: 35.73 kB / 469.8 MB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.2686, allocations: 12.16 kB / 469.8 MB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2688, allocations: 8 kB / 469.8 MB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.2688, allocations: 19.95 kB / 469.8 MB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.2688, allocations: 16 kB / 469.9 MB, free: 3.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.269, allocations: 197.2 kB / 470 MB, free: 3.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.269, allocations: 0 / 470 MB, free: 3.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004188/0.2732, allocations: 0.7558 MB / 470.8 MB, free: 2.574 MB / 430.1 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.1916/0.4648, allocations: 6.399 MB / 477.2 MB, free: 79.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009084/0.4657, allocations: 474.1 kB / 477.7 MB, free: 79.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4657, allocations: 1.438 kB / 477.7 MB, free: 79.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.4661, allocations: 215.9 kB / 477.9 MB, free: 79.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/0.467, allocations: 159.7 kB / 478 MB, free: 79.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.4685, allocations: 0.9084 MB / 478.9 MB, free: 79.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.4687, allocations: 202 kB / 479.1 MB, free: 79.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003602/0.469, allocations: 190.9 kB / 479.3 MB, free: 79.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.4691, allocations: 36.42 kB / 479.4 MB, free: 79.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4691, allocations: 1.125 kB / 479.4 MB, free: 79.07 MB / 430.1 MB Notification: Performance of Templates: time 0.0322/0.5013, allocations: 28.46 MB / 0.4959 GB, free: 58.75 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.055571713950485]