Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001516/0.001516, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001788/0.001789, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07885, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004125/0.083, allocations: 3.489 MB / 332.2 MB, free: 244 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.08441, allocations: 0.9822 MB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.08459, allocations: 7.938 kB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.08491, allocations: 107.1 kB / 333.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.08524, allocations: 186.4 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.08549, allocations: 115.8 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.0861, allocations: 0.6458 MB / 334.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.08638, allocations: 190.8 kB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.08659, allocations: 235.1 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.0869, allocations: 282.8 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.08697, allocations: 52 kB / 335 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.08706, allocations: 52 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.08715, allocations: 119.6 kB / 335.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.08739, allocations: 282.7 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.08791, allocations: 0.654 MB / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.08793, allocations: 0 / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.08793, allocations: 0 / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.08794, allocations: 0 / 336.1 MB, free: 12.34 MB / 286.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.00125/0.0892, allocations: 0.835 MB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.08924, allocations: 12.03 kB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.08935, allocations: 64.19 kB / 337 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.08991, allocations: 398.7 kB / 337.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-05/0.09002, allocations: 54.92 kB / 337.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.09008, allocations: 40.28 kB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.09072, allocations: 465.1 kB / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.09075, allocations: 0 / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.09079, allocations: 16 kB / 338 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.0908, allocations: 8 kB / 338 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.09134, allocations: 282.5 kB / 338.2 MB, free: 10.03 MB / 286.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.001881/0.09323, allocations: 1.29 MB / 339.5 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.09432, allocations: 436.4 kB / 340 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.09459, allocations: 148.9 kB / 340.1 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.09464, allocations: 15.86 kB / 340.1 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.09467, allocations: 38.56 kB / 340.2 MB, free: 7.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.09468, allocations: 0 / 340.2 MB, free: 7.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001075/0.09576, allocations: 0.5985 MB / 340.7 MB, free: 7.336 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.09593, allocations: 445 kB / 341.2 MB, free: 6.797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.0964, allocations: 461.8 kB / 341.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.09644, allocations: 33.7 kB / 341.7 MB, free: 6.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.0966, allocations: 232.4 kB / 341.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.09669, allocations: 110.4 kB / 342 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.09683, allocations: 73.94 kB / 342.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.09696, allocations: 358.8 kB / 342.4 MB, free: 5.516 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.0972, allocations: 108.6 kB / 342.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.09754, allocations: 248.1 kB / 342.8 MB, free: 5.117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.09802, allocations: 284.5 kB / 343.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.09804, allocations: 0 / 343.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006887/0.09873, allocations: 420.9 kB / 343.5 MB, free: 4.398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.09877, allocations: 33.7 kB / 343.5 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.09879, allocations: 8.016 kB / 343.5 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.09895, allocations: 49.69 kB / 343.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.09927, allocations: 63.91 kB / 343.6 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.1015, allocations: 2.965 MB / 346.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.1019, allocations: 39.72 kB / 346.6 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.1019, allocations: 12 kB / 346.6 MB, free: 0.9375 MB / 286.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.0001926/0.1021, allocations: 165.8 kB / 346.8 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1022, allocations: 51.44 kB / 346.8 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.1023, allocations: 52.69 kB / 346.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1023, allocations: 4 kB / 346.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1024, allocations: 3.938 kB / 346.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006499/0.103, allocations: 0.6502 MB / 347.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1042, allocations: 0.9116 MB / 348.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1043, allocations: 3.938 kB / 348.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1046, allocations: 67.89 kB / 348.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1046, allocations: 0 / 348.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1047, allocations: 8.234 kB / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1047, allocations: 0 / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1047, allocations: 0 / 348.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.1055, allocations: 0.52 MB / 349.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.1057, allocations: 164.4 kB / 349.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.1058, allocations: 11.98 kB / 349.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.1061, allocations: 15.94 kB / 349.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.1061, allocations: 27.97 kB / 349.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1062, allocations: 4 kB / 349.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.1065, allocations: 331.1 kB / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1065, allocations: 4.062 kB / 349.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.107, allocations: 127.8 kB / 349.7 MB, free: 13.62 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.0001325/0.1071, allocations: 107.2 kB / 349.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009195/0.108, allocations: 0.5592 MB / 350.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.108, allocations: 0 / 350.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.1083, allocations: 132.4 kB / 350.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.1089, allocations: 129.8 kB / 350.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1103, allocations: 0.8763 MB / 351.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1107, allocations: 0.8198 MB / 352.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.1109, allocations: 60.34 kB / 352.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.111, allocations: 39.44 kB / 352.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.111, allocations: 0 / 352.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01276/0.1238, allocations: 8.119 MB / 360.6 MB, free: 2.684 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches