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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 90.11 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 177 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.0002329, allocations: 8 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08031, allocations: 50.42 MB / 351.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003222/0.08358, allocations: 3.144 MB / 355 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.08486, allocations: 0.8724 MB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.08501, allocations: 4 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.08526, allocations: 87.42 kB / 355.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.08561, allocations: 162.7 kB / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.08584, allocations: 107.9 kB / 356.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.08642, allocations: 0.6137 MB / 356.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.08669, allocations: 171.2 kB / 357 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.0869, allocations: 219.1 kB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.08719, allocations: 258.7 kB / 357.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.08726, allocations: 36 kB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.08734, allocations: 36 kB / 357.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.08743, allocations: 95.59 kB / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.08769, allocations: 292.4 kB / 357.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.08821, allocations: 0.5993 MB / 358.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.08822, allocations: 7.938 kB / 358.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08823, allocations: 0 / 358.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.08824, allocations: 4 kB / 358.5 MB, free: 12.98 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.001158/0.08941, allocations: 0.7611 MB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.08945, allocations: 8.031 kB / 359.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.08955, allocations: 60.28 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.09006, allocations: 394.6 kB / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/0.09016, allocations: 54.92 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.09023, allocations: 32.38 kB / 359.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.09095, allocations: 473.1 kB / 360.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.09098, allocations: 0 / 360.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.09102, allocations: 16 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.09104, allocations: 8 kB / 360.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.09164, allocations: 290.5 kB / 360.6 MB, free: 10.75 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.002055/0.09371, allocations: 1.302 MB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.09488, allocations: 440.2 kB / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.09518, allocations: 144.8 kB / 362.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.09522, allocations: 11.98 kB / 362.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.09525, allocations: 46.5 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.09526, allocations: 0 / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.00116/0.09643, allocations: 0.6193 MB / 363.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.09661, allocations: 445 kB / 363.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.09712, allocations: 449.9 kB / 364 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.09716, allocations: 37.7 kB / 364 MB, free: 6.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.09733, allocations: 228.5 kB / 364.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-05/0.09744, allocations: 122.3 kB / 364.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.09749, allocations: 29.7 kB / 364.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.09764, allocations: 354.8 kB / 364.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.0979, allocations: 108.6 kB / 364.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.09827, allocations: 264 kB / 365.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.09879, allocations: 289.5 kB / 365.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.0988, allocations: 0 / 365.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007392/0.09955, allocations: 424.4 kB / 365.8 MB, free: 5.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.0996, allocations: 29.8 kB / 365.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.09961, allocations: 7.938 kB / 365.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.09977, allocations: 53.62 kB / 365.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.1001, allocations: 63.97 kB / 366 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.1024, allocations: 2.756 MB / 368.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.1027, allocations: 43.72 kB / 368.8 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1028, allocations: 15.98 kB / 368.8 MB, free: 1.859 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.0001932/0.103, allocations: 169.7 kB / 368.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.1031, allocations: 51.44 kB / 369 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.861e-05/0.1032, allocations: 52.7 kB / 369 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1032, allocations: 4 kB / 369.1 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1032, allocations: 0 / 369.1 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006763/0.1039, allocations: 0.6492 MB / 369.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1477/0.2516, allocations: 0.9125 MB / 370.6 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2516, allocations: 0 / 370.6 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.252, allocations: 73.83 kB / 370.7 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.252, allocations: 0.9375 kB / 370.7 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.2521, allocations: 6.984 kB / 370.7 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.2521, allocations: 1.719 kB / 370.7 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2521, allocations: 7.922 kB / 370.7 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.253, allocations: 0.5296 MB / 371.2 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.2532, allocations: 162.9 kB / 371.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.2533, allocations: 9.594 kB / 371.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.2537, allocations: 22.42 kB / 371.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2537, allocations: 25.12 kB / 371.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2538, allocations: 7.328 kB / 371.5 MB, free: 24.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003598/0.2541, allocations: 323.3 kB / 371.8 MB, free: 24.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2541, allocations: 0 / 371.8 MB, free: 24.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004731/0.2546, allocations: 134.4 kB / 371.9 MB, free: 24.29 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.973e-05/0.2547, allocations: 107.4 kB / 372 MB, free: 24.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008188/0.2555, allocations: 0.5605 MB / 372.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2556, allocations: 1.531 kB / 372.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.2558, allocations: 134.9 kB / 372.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.2565, allocations: 129.4 kB / 372.8 MB, free: 23.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2579, allocations: 1.096 MB / 373.9 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.2581, allocations: 0.8155 MB / 374.7 MB, free: 22.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.2584, allocations: 68.5 kB / 374.8 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2585, allocations: 43.41 kB / 374.8 MB, free: 22.6 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2585, allocations: 0 / 374.8 MB, free: 22.6 MB / 302.1 MB Notification: Performance of Templates: time 0.01237/0.2709, allocations: 7.591 MB / 382.4 MB, free: 20.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (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) 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) Reference file matches