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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007311/0.0007312, allocations: 95.73 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008431/0.0008431, allocations: 204.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002128, allocations: 8 kB / 307.7 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08454, allocations: 51.52 MB / 359.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003075/0.08765, allocations: 3.157 MB / 362.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.08895, allocations: 0.9114 MB / 363.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.0891, allocations: 4 kB / 363.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.08935, allocations: 99.3 kB / 363.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.08967, allocations: 166.7 kB / 363.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.08989, allocations: 103.9 kB / 363.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.09043, allocations: 0.6028 MB / 364.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.09068, allocations: 179.2 kB / 364.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.09089, allocations: 215.1 kB / 364.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.09117, allocations: 254.8 kB / 364.9 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.09124, allocations: 32 kB / 364.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.09132, allocations: 36 kB / 365 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.0914, allocations: 95.59 kB / 365.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.09164, allocations: 296.4 kB / 365.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.09212, allocations: 0.6071 MB / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.09213, allocations: 0 / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09214, allocations: 0 / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.09215, allocations: 0 / 366 MB, free: 6.559 MB / 302.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.001075/0.09323, allocations: 0.7572 MB / 366.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.09327, allocations: 8.031 kB / 366.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.736e-05/0.09337, allocations: 64.28 kB / 366.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.09382, allocations: 386.6 kB / 367.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.335e-05/0.09393, allocations: 58.91 kB / 367.2 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.09399, allocations: 36.38 kB / 367.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.09468, allocations: 465.1 kB / 367.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.0947, allocations: 0 / 367.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.09475, allocations: 16 kB / 367.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.09477, allocations: 11.98 kB / 367.7 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.09536, allocations: 290.5 kB / 368 MB, free: 4.34 MB / 302.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.001875/0.09724, allocations: 1.302 MB / 369.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.09835, allocations: 444.4 kB / 369.8 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.09862, allocations: 148.1 kB / 369.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.09866, allocations: 7.984 kB / 369.9 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.09869, allocations: 42.55 kB / 370 MB, free: 2.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.0987, allocations: 0 / 370 MB, free: 2.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001116/0.09982, allocations: 0.6077 MB / 370.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.09999, allocations: 448.9 kB / 371 MB, free: 1.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.1005, allocations: 457.9 kB / 371.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1005, allocations: 37.7 kB / 371.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1007, allocations: 224.5 kB / 371.7 MB, free: 364 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.1008, allocations: 114.3 kB / 371.8 MB, free: 248 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.1008, allocations: 33.7 kB / 371.9 MB, free: 208 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1507/0.2515, allocations: 354.8 kB / 372.2 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.2519, allocations: 109.1 kB / 372.3 MB, free: 19.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.2523, allocations: 257.5 kB / 372.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.2529, allocations: 292.7 kB / 372.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2529, allocations: 1.219 kB / 372.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007634/0.2536, allocations: 425.9 kB / 373.3 MB, free: 18.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.2537, allocations: 33.16 kB / 373.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2537, allocations: 0 / 373.3 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.2539, allocations: 48.16 kB / 373.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2542, allocations: 69.89 kB / 373.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.256, allocations: 2.751 MB / 376.2 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.2564, allocations: 48.25 kB / 376.2 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.2564, allocations: 11.45 kB / 376.2 MB, free: 16.28 MB / 302.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.0001992/0.2566, allocations: 172.8 kB / 376.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.2567, allocations: 49.56 kB / 376.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2568, allocations: 50.88 kB / 376.5 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2568, allocations: 4.438 kB / 376.5 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2568, allocations: 1.734 kB / 376.5 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005993/0.2574, allocations: 0.6586 MB / 377.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.2587, allocations: 0.9232 MB / 378.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2587, allocations: 1.125 kB / 378.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.2591, allocations: 68.98 kB / 378.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2591, allocations: 2.375 kB / 378.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2591, allocations: 5.438 kB / 378.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2591, allocations: 2.844 kB / 378.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2591, allocations: 3.938 kB / 378.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.2599, allocations: 0.5295 MB / 378.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.2601, allocations: 162.3 kB / 378.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.2601, allocations: 9.109 kB / 378.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.2604, allocations: 26.94 kB / 378.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.2605, allocations: 22.98 kB / 378.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2605, allocations: 11.48 kB / 378.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.2608, allocations: 317.8 kB / 379.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2608, allocations: 0 / 379.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.2613, allocations: 132.4 kB / 379.4 MB, free: 14.67 MB / 302.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 9.51e-05/0.2614, allocations: 109.1 kB / 379.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007642/0.2621, allocations: 0.5626 MB / 380 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2621, allocations: 1.656 kB / 380 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.2624, allocations: 137.7 kB / 380.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.2631, allocations: 130.7 kB / 380.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2644, allocations: 1.092 MB / 381.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2647, allocations: 0.8183 MB / 382.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.2649, allocations: 64.7 kB / 382.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.265, allocations: 42.45 kB / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.265, allocations: 0 / 382.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Templates: time 0.01251/0.2775, allocations: 7.59 MB / 389.9 MB, free: 10.79 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches