Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.00145/0.00145, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001483/0.001483, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 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 1.407/1.407, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 39.94 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2411, allocations: 52.2 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005273/0.2463, allocations: 3.538 MB / 427.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2482, allocations: 0.9384 MB / 428.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.2486, allocations: 7.938 kB / 428.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.249, allocations: 115.1 kB / 428.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.2495, allocations: 190.4 kB / 428.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.2499, allocations: 123.8 kB / 428.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009079/0.2508, allocations: 0.6379 MB / 429.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.2511, allocations: 131.3 kB / 429.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.2514, allocations: 243.1 kB / 429.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.2519, allocations: 282.8 kB / 430.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.252, allocations: 52 kB / 430.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2521, allocations: 56 kB / 430.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.2522, allocations: 115.6 kB / 430.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.2526, allocations: 294.6 kB / 430.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.2534, allocations: 0.6512 MB / 431.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2534, allocations: 0 / 431.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2534, allocations: 0 / 431.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.2534, allocations: 0 / 431.2 MB, free: 7.277 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001568/0.255, allocations: 0.7788 MB / 432 MB, free: 6.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.255, allocations: 12.03 kB / 432 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.2551, allocations: 64.61 kB / 432.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.2558, allocations: 341.1 kB / 432.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.256, allocations: 110.3 kB / 432.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.256, allocations: 36.31 kB / 432.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.2568, allocations: 461.1 kB / 433 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2568, allocations: 0 / 433 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.2569, allocations: 16 kB / 433 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.2569, allocations: 8 kB / 433 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.2575, allocations: 282.5 kB / 433.3 MB, free: 5.062 MB / 334.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.002293/0.2598, allocations: 1.248 MB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2609, allocations: 349.7 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.2612, allocations: 128.8 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.2612, allocations: 15.98 kB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.2613, allocations: 42.5 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.2613, allocations: 0 / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001134/0.2624, allocations: 448.2 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/0.2627, allocations: 453 kB / 436 MB, free: 2.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.2632, allocations: 457.8 kB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.2633, allocations: 29.7 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2635, allocations: 236.7 kB / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2636, allocations: 118.9 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.2637, allocations: 74.03 kB / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.2639, allocations: 354.8 kB / 437.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.2642, allocations: 108.6 kB / 437.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.2646, allocations: 252.1 kB / 437.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.2651, allocations: 284.5 kB / 437.8 MB, free: 220 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2651, allocations: 0 / 437.8 MB, free: 220 kB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000816/0.2659, allocations: 421.3 kB / 438.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.2659, allocations: 33.7 kB / 438.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2659, allocations: 4.031 kB / 438.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.2661, allocations: 49.69 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.2665, allocations: 67.91 kB / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.2692, allocations: 2.762 MB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.2696, allocations: 47.66 kB / 441.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.2696, allocations: 12 kB / 441.2 MB, free: 12.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.2699, allocations: 165.8 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.27, allocations: 51.72 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.2701, allocations: 52.69 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2701, allocations: 3.938 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2701, allocations: 4 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007307/0.2708, allocations: 0.6456 MB / 442.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.2722, allocations: 0.8714 MB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2722, allocations: 4.094 kB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.2726, allocations: 71.83 kB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2726, allocations: 0 / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.2726, allocations: 4 kB / 443.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2726, allocations: 7.984 kB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2726, allocations: 3.938 kB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.2735, allocations: 0.5215 MB / 443.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.2737, allocations: 87.58 kB / 443.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.2737, allocations: 8 kB / 443.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.274, allocations: 15.98 kB / 443.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.2741, allocations: 24.19 kB / 443.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.2741, allocations: 7.938 kB / 443.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003764/0.2745, allocations: 327.1 kB / 444.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2745, allocations: 64 / 444.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004467/0.2749, allocations: 135.9 kB / 444.2 MB, free: 9.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.275, allocations: 107.2 kB / 444.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009674/0.276, allocations: 0.5434 MB / 444.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.276, allocations: 0 / 444.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.2763, allocations: 120 kB / 445 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.2769, allocations: 137.7 kB / 445.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.2785, allocations: 0.9204 MB / 446 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.279, allocations: 0.8159 MB / 446.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.2791, allocations: 47.42 kB / 446.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2791, allocations: 0 / 446.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Templates: time 0.0121/0.2912, allocations: 8.313 MB / 455.2 MB, free: 14.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.895204833010212]