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.001408/0.001408, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.00165/0.00165, allocations: 190 kB / 17.55 MB, free: 5.934 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.349/1.349, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009335/0.0009335, allocations: 54.98 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.08059, allocations: 49.44 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004025/0.08464, allocations: 3.527 MB / 353.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.08591, allocations: 0.9424 MB / 354 MB, free: 272 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.08606, allocations: 7.938 kB / 354 MB, free: 264 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.08634, allocations: 83.45 kB / 354.1 MB, free: 180 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.08667, allocations: 170.7 kB / 354.3 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.08691, allocations: 103.8 kB / 354.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.08752, allocations: 0.6351 MB / 355 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.08779, allocations: 191.1 kB / 355.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.088, allocations: 239.1 kB / 355.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.08828, allocations: 270.8 kB / 355.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.08835, allocations: 52 kB / 355.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.08849, allocations: 56 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.08858, allocations: 119.5 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.08887, allocations: 302.6 kB / 356.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.08946, allocations: 0.6268 MB / 356.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.08947, allocations: 0 / 356.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08948, allocations: 0 / 356.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.08949, allocations: 0 / 356.9 MB, free: 13.43 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.001263/0.09076, allocations: 0.8428 MB / 357.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.0908, allocations: 8.031 kB / 357.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.09091, allocations: 64.28 kB / 357.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.09139, allocations: 394.6 kB / 358.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.09148, allocations: 58.84 kB / 358.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/0.09155, allocations: 32.38 kB / 358.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.09225, allocations: 465 kB / 358.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.09228, allocations: 0 / 358.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.09232, allocations: 16 kB / 358.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.09234, allocations: 11.98 kB / 358.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000555/0.0929, allocations: 274.5 kB / 359 MB, free: 11.13 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.001924/0.09483, allocations: 1.31 MB / 360.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.09593, allocations: 434.9 kB / 360.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.0962, allocations: 144.4 kB / 360.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.09624, allocations: 8 kB / 360.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.09627, allocations: 38.56 kB / 360.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.09628, allocations: 0 / 360.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.00111/0.09739, allocations: 0.6036 MB / 361.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.09758, allocations: 449 kB / 362 MB, free: 7.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.09805, allocations: 449.9 kB / 362.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.0981, allocations: 33.7 kB / 362.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.09827, allocations: 240.5 kB / 362.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-05/0.09837, allocations: 106.3 kB / 362.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.0985, allocations: 82.02 kB / 362.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.09864, allocations: 350.8 kB / 363.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.09887, allocations: 108.6 kB / 363.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.09923, allocations: 262.9 kB / 363.5 MB, free: 6.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.09972, allocations: 272.9 kB / 363.8 MB, free: 5.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.09973, allocations: 4 kB / 363.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007088/0.1004, allocations: 420.3 kB / 364.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.1005, allocations: 29.7 kB / 364.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1005, allocations: 0 / 364.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.1006, allocations: 53.69 kB / 364.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.101, allocations: 63.91 kB / 364.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.1033, allocations: 2.976 MB / 367.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.1036, allocations: 43.62 kB / 367.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.1037, allocations: 12 kB / 367.4 MB, free: 2.023 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.000186/0.1039, allocations: 169.8 kB / 367.6 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.1039, allocations: 51.44 kB / 367.6 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.104, allocations: 52.7 kB / 367.7 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1041, allocations: 4 kB / 367.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1041, allocations: 3.938 kB / 367.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006259/0.1047, allocations: 0.6414 MB / 368.3 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1059, allocations: 0.9069 MB / 369.2 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1059, allocations: 3.938 kB / 369.2 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1352/0.2411, allocations: 62.84 kB / 369.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.2412, allocations: 5.031 kB / 369.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.2412, allocations: 6.641 kB / 369.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.2412, allocations: 2.516 kB / 369.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2412, allocations: 4.844 kB / 369.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.2421, allocations: 0.5106 MB / 369.8 MB, free: 25.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.2423, allocations: 163.5 kB / 370 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.2424, allocations: 9.828 kB / 370 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.2427, allocations: 20.17 kB / 370 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2428, allocations: 20.36 kB / 370 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2428, allocations: 7.656 kB / 370 MB, free: 25.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.2432, allocations: 321.8 kB / 370.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2432, allocations: 0 / 370.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.2437, allocations: 132.1 kB / 370.5 MB, free: 25.48 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 0.0001077/0.2438, allocations: 118.9 kB / 370.6 MB, free: 25.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009223/0.2447, allocations: 0.5713 MB / 371.2 MB, free: 25.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.2447, allocations: 1.25 kB / 371.2 MB, free: 25.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.245, allocations: 126.6 kB / 371.3 MB, free: 25.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.2457, allocations: 139 kB / 371.4 MB, free: 25.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.2474, allocations: 1.028 MB / 372.5 MB, free: 24.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.2477, allocations: 0.8192 MB / 373.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.248, allocations: 58.5 kB / 373.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.2482, allocations: 40.33 kB / 373.4 MB, free: 23.84 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2482, allocations: 4 kB / 373.4 MB, free: 23.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01373/0.2619, allocations: 8.074 MB / 381.5 MB, free: 22.09 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