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.001685/0.001685, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001938/0.001938, allocations: 188.7 kB / 23.71 MB, free: 4.188 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.459/1.459, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001638/0.001638, allocations: 47.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2295, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004853/0.2344, allocations: 3.215 MB / 426.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.236, allocations: 0.8879 MB / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.2362, allocations: 11.94 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.2366, allocations: 111.1 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.237, allocations: 190.4 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.2372, allocations: 123.8 kB / 427.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007493/0.238, allocations: 0.6379 MB / 428.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.2382, allocations: 123.5 kB / 428.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.2385, allocations: 251.1 kB / 428.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.2389, allocations: 226.9 kB / 428.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.239, allocations: 63.98 kB / 428.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2391, allocations: 52 kB / 428.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2392, allocations: 119.5 kB / 429 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.2395, allocations: 243 kB / 429.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.2402, allocations: 0.6483 MB / 429.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2402, allocations: 0 / 429.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2402, allocations: 0 / 429.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2403, allocations: 3.938 kB / 429.9 MB, free: 7.566 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.001519/0.2418, allocations: 0.7905 MB / 430.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2418, allocations: 8.031 kB / 430.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2419, allocations: 60.61 kB / 430.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.2427, allocations: 337.1 kB / 431.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.2428, allocations: 114.3 kB / 431.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.2429, allocations: 36.34 kB / 431.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.2439, allocations: 0.8268 MB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2439, allocations: 3.938 kB / 432.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.2439, allocations: 15.94 kB / 432.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2439, allocations: 8 kB / 432.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/0.2445, allocations: 278.5 kB / 432.4 MB, free: 4.879 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.002046/0.2466, allocations: 0.9479 MB / 433.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.2478, allocations: 339.4 kB / 433.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.248, allocations: 124.8 kB / 433.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.2481, allocations: 16 kB / 433.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2481, allocations: 38.56 kB / 433.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.2481, allocations: 0 / 433.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001142/0.2493, allocations: 447.4 kB / 434.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002571/0.2495, allocations: 445 kB / 434.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.25, allocations: 405.6 kB / 435.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.25, allocations: 33.8 kB / 435.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.2502, allocations: 252.4 kB / 435.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2503, allocations: 111.1 kB / 435.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.2505, allocations: 77.97 kB / 435.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2506, allocations: 354.7 kB / 435.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.2509, allocations: 134.3 kB / 436.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.2515, allocations: 0.6516 MB / 436.7 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.2521, allocations: 284.5 kB / 437 MB, free: 15.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2521, allocations: 4 kB / 437 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007916/0.2529, allocations: 439 kB / 437.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.2529, allocations: 29.7 kB / 437.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2529, allocations: 4 kB / 437.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.2531, allocations: 53.69 kB / 437.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.2534, allocations: 67.89 kB / 437.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.2561, allocations: 2.701 MB / 440.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.2565, allocations: 39.81 kB / 440.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.2565, allocations: 11.98 kB / 440.3 MB, free: 12.32 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.0002351/0.2568, allocations: 177.9 kB / 440.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.2569, allocations: 47.7 kB / 440.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.2569, allocations: 44.38 kB / 440.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.257, allocations: 4 kB / 440.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.257, allocations: 0 / 440.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007876/0.2577, allocations: 0.6503 MB / 441.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.2591, allocations: 0.7472 MB / 442 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2591, allocations: 4 kB / 442 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.2594, allocations: 75.89 kB / 442.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2594, allocations: 0 / 442.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2595, allocations: 4 kB / 442.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.2595, allocations: 4 kB / 442.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.2595, allocations: 7.938 kB / 442.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.2604, allocations: 0.5098 MB / 442.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2606, allocations: 79.69 kB / 442.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.2606, allocations: 12.06 kB / 442.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.261, allocations: 15.92 kB / 442.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.261, allocations: 31.88 kB / 442.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.261, allocations: 8 kB / 442.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003665/0.2614, allocations: 283.2 kB / 443 MB, free: 9.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2614, allocations: 0 / 443 MB, free: 9.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000483/0.2619, allocations: 139.8 kB / 443.1 MB, free: 9.32 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.0001379/0.262, allocations: 103.2 kB / 443.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.263, allocations: 0.5766 MB / 443.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.263, allocations: 8 kB / 443.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.2633, allocations: 115.8 kB / 443.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.2639, allocations: 117.5 kB / 444.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.2656, allocations: 0.8908 MB / 444.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.2659, allocations: 216.4 kB / 445.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.2661, allocations: 63.3 kB / 445.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.2662, allocations: 39.44 kB / 445.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2662, allocations: 0 / 445.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of Templates: time 0.01738/0.2836, allocations: 9.043 MB / 454.3 MB, free: 14.29 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.64085035212338]