Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002365/0.002365, allocations: 212.1 kB / 23.73 MB, free: 4.164 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.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.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2327, allocations: 53.41 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004837/0.2375, allocations: 3.215 MB / 434.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2393, allocations: 0.9307 MB / 435.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.2395, allocations: 7.938 kB / 435.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.2399, allocations: 107.1 kB / 435.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.2403, allocations: 186.4 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.2405, allocations: 119.8 kB / 436.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007471/0.2413, allocations: 0.6453 MB / 436.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.2415, allocations: 123.5 kB / 436.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.2418, allocations: 247.1 kB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.2422, allocations: 234.9 kB / 437.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.2423, allocations: 52 kB / 437.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2424, allocations: 52 kB / 437.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.2425, allocations: 131.5 kB / 437.6 MB, free: 472 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.2428, allocations: 246.9 kB / 437.9 MB, free: 224 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007622/0.2435, allocations: 0.6521 MB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2435, allocations: 0 / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2435, allocations: 0 / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2436, allocations: 0 / 438.5 MB, free: 15.57 MB / 350.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.001483/0.245, allocations: 0.7789 MB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2451, allocations: 15.98 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2452, allocations: 64.56 kB / 439.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.2458, allocations: 337.2 kB / 439.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.246, allocations: 110.3 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.246, allocations: 44.3 kB / 439.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.247, allocations: 0.8268 MB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2471, allocations: 4 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.2471, allocations: 16 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2471, allocations: 8 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.2477, allocations: 274.5 kB / 441 MB, free: 12.88 MB / 350.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.002099/0.2498, allocations: 0.9517 MB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.251, allocations: 338.1 kB / 442.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.2513, allocations: 132.8 kB / 442.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.2513, allocations: 4 kB / 442.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2514, allocations: 38.56 kB / 442.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.2514, allocations: 7.938 kB / 442.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001175/0.2526, allocations: 443.8 kB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/0.2528, allocations: 448.9 kB / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.2533, allocations: 405.6 kB / 443.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.2534, allocations: 33.7 kB / 443.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.2536, allocations: 244.4 kB / 444 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2537, allocations: 119 kB / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.2539, allocations: 70.03 kB / 444.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.254, allocations: 358.7 kB / 444.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.2543, allocations: 134.2 kB / 444.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/0.255, allocations: 0.6517 MB / 445.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.2558, allocations: 277.2 kB / 445.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2558, allocations: 3.938 kB / 445.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009337/0.2567, allocations: 442.3 kB / 446 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.2568, allocations: 29.7 kB / 446.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2568, allocations: 4 kB / 446.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.257, allocations: 53.62 kB / 446.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.2573, allocations: 63.97 kB / 446.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.2601, allocations: 2.701 MB / 448.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.2605, allocations: 47.69 kB / 448.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.2605, allocations: 12 kB / 448.9 MB, free: 4.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.0002239/0.2608, allocations: 165.7 kB / 449.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.833e-05/0.2608, allocations: 51.81 kB / 449.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.895e-05/0.2609, allocations: 52.36 kB / 449.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2609, allocations: 4 kB / 449.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2609, allocations: 0 / 449.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007811/0.2617, allocations: 0.6494 MB / 449.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.2631, allocations: 0.7589 MB / 450.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2631, allocations: 0 / 450.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.2634, allocations: 71.95 kB / 450.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2634, allocations: 0 / 450.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.2634, allocations: 8 kB / 450.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2634, allocations: 0 / 450.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2635, allocations: 7.875 kB / 450.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.2644, allocations: 0.5096 MB / 451.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2646, allocations: 83.62 kB / 451.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.2647, allocations: 8 kB / 451.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.265, allocations: 27.98 kB / 451.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.265, allocations: 19.91 kB / 451.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2651, allocations: 11.98 kB / 451.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.2654, allocations: 283.2 kB / 451.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2654, allocations: 0 / 451.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.2659, allocations: 131.9 kB / 451.8 MB, free: 1.328 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.0001324/0.266, allocations: 107.2 kB / 451.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.267, allocations: 0.5764 MB / 452.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.267, allocations: 0 / 452.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.2673, allocations: 123.8 kB / 452.6 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.2679, allocations: 125.4 kB / 452.7 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.2696, allocations: 0.8821 MB / 453.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2699, allocations: 216.4 kB / 453.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.2701, allocations: 55.36 kB / 453.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2702, allocations: 39.44 kB / 453.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2702, allocations: 4 kB / 453.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Templates: time 0.0161/0.2863, allocations: 9.041 MB / 462.9 MB, free: 6.281 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.719927025958896]