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.00183/0.00183, allocations: 113 kB / 19.04 MB, free: 3.254 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.002078/0.002078, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.412/1.412, allocations: 225.6 MB / 250.8 MB, free: 13.37 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.001571/0.001571, allocations: 47.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2311, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004793/0.2359, allocations: 3.534 MB / 424.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.2375, allocations: 0.9462 MB / 425.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.2376, allocations: 7.938 kB / 425.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.238, allocations: 115 kB / 425.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.2383, allocations: 190.4 kB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2386, allocations: 123.8 kB / 425.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.2393, allocations: 0.6341 MB / 426.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.2396, allocations: 130.7 kB / 426.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.2398, allocations: 243.1 kB / 426.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.2402, allocations: 270.8 kB / 427 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.2403, allocations: 52 kB / 427.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.2404, allocations: 56 kB / 427.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.2405, allocations: 123.5 kB / 427.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.2407, allocations: 286.7 kB / 427.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.2414, allocations: 0.6472 MB / 428.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2414, allocations: 3.984 kB / 428.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2414, allocations: 0 / 428.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.2415, allocations: 4 kB / 428.2 MB, free: 7.746 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.001422/0.2429, allocations: 0.858 MB / 429 MB, free: 6.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2429, allocations: 16.03 kB / 429.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.243, allocations: 60.61 kB / 429.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.2436, allocations: 399 kB / 429.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.2437, allocations: 58.91 kB / 429.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.2438, allocations: 32.38 kB / 429.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.2445, allocations: 457.1 kB / 430 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2446, allocations: 4 kB / 430.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.2446, allocations: 20 kB / 430.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2446, allocations: 8 kB / 430.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.2452, allocations: 278.5 kB / 430.3 MB, free: 5.434 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.002152/0.2474, allocations: 1.295 MB / 431.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.2485, allocations: 416.5 kB / 432.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.2488, allocations: 133.6 kB / 432.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.2488, allocations: 4 kB / 432.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2489, allocations: 46.48 kB / 432.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.2489, allocations: 96 / 432.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001201/0.2501, allocations: 0.5948 MB / 432.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002432/0.2503, allocations: 448.9 kB / 433.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.2509, allocations: 457.8 kB / 433.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.2509, allocations: 37.7 kB / 433.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.2511, allocations: 224.7 kB / 434 MB, free: 1.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/0.2512, allocations: 122.9 kB / 434.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2513, allocations: 81.95 kB / 434.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2515, allocations: 354.8 kB / 434.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2518, allocations: 104.6 kB / 434.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.2521, allocations: 256.1 kB / 434.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.2526, allocations: 285.1 kB / 435.1 MB, free: 252 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2526, allocations: 0 / 435.1 MB, free: 252 kB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007834/0.2534, allocations: 416.6 kB / 435.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.2535, allocations: 33.69 kB / 435.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2535, allocations: 3.984 kB / 435.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.2536, allocations: 53.64 kB / 435.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.254, allocations: 67.89 kB / 435.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.2567, allocations: 2.965 MB / 438.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.2571, allocations: 47.75 kB / 438.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2571, allocations: 16 kB / 438.7 MB, free: 12.34 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.0002272/0.2573, allocations: 165.8 kB / 438.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.2574, allocations: 55.67 kB / 439 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2575, allocations: 52.69 kB / 439 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2575, allocations: 4 kB / 439 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2576, allocations: 3.938 kB / 439 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007562/0.2583, allocations: 0.6492 MB / 439.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.2597, allocations: 0.8971 MB / 440.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2597, allocations: 3.938 kB / 440.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.26, allocations: 59.97 kB / 440.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.26, allocations: 4 kB / 440.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.2601, allocations: 11.92 kB / 440.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2601, allocations: 0 / 440.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2601, allocations: 8 kB / 440.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.261, allocations: 0.5128 MB / 441.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.2612, allocations: 172.6 kB / 441.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.2612, allocations: 8 kB / 441.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.2615, allocations: 19.98 kB / 441.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.2616, allocations: 24.03 kB / 441.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.2616, allocations: 4 kB / 441.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003816/0.262, allocations: 323.1 kB / 441.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.262, allocations: 3.938 kB / 441.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00043/0.2624, allocations: 135.9 kB / 441.8 MB, free: 9.043 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.0001354/0.2626, allocations: 111.1 kB / 441.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.2635, allocations: 0.5477 MB / 442.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2635, allocations: 0 / 442.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.2637, allocations: 119.8 kB / 442.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.2644, allocations: 133.8 kB / 442.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2659, allocations: 0.8842 MB / 443.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.2664, allocations: 0.8198 MB / 444.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.2666, allocations: 64.34 kB / 444.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2667, allocations: 43.42 kB / 444.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2667, allocations: 0 / 444.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of Templates: time 0.01501/0.2817, allocations: 8.363 MB / 452.9 MB, free: 14 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/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: 4.6166910994797945]