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.001258/0.001258, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001265/0.001266, allocations: 192 kB / 18.62 MB, free: 4.434 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009361/0.0009362, allocations: 43.19 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08099/0.08195, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004036/0.08601, allocations: 3.491 MB / 355 MB, free: 192 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.08738, allocations: 0.9539 MB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.08754, allocations: 4 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.08782, allocations: 99.14 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.08817, allocations: 186.4 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.08843, allocations: 127.8 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.08905, allocations: 0.6379 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.08934, allocations: 198.8 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.08958, allocations: 235.1 kB / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.08998, allocations: 274.8 kB / 357.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.09007, allocations: 56 kB / 357.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.645e-05/0.09016, allocations: 52 kB / 357.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.0903, allocations: 123.6 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.0906, allocations: 286.7 kB / 358.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.09127, allocations: 0.6462 MB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.09128, allocations: 0 / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.09129, allocations: 4 kB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.09131, allocations: 0 / 358.8 MB, free: 12.32 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.001474/0.09279, allocations: 0.8389 MB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.09285, allocations: 19.89 kB / 359.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.09296, allocations: 60.28 kB / 359.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.09355, allocations: 402.5 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.09365, allocations: 50.92 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.09372, allocations: 36.38 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.0944, allocations: 461.1 kB / 360.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.09442, allocations: 0 / 360.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.09447, allocations: 20 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.09448, allocations: 8 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.09505, allocations: 278.5 kB / 361 MB, free: 10.01 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.001991/0.09705, allocations: 1.286 MB / 362.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.09814, allocations: 440.4 kB / 362.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.09841, allocations: 141.3 kB / 362.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.09845, allocations: 7.984 kB / 362.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.09849, allocations: 38.56 kB / 362.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.09849, allocations: 0 / 362.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001118/0.09962, allocations: 0.6062 MB / 363.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.09984, allocations: 441 kB / 363.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.1004, allocations: 453.9 kB / 364.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.1004, allocations: 37.7 kB / 364.4 MB, free: 6.285 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1006, allocations: 232.4 kB / 364.6 MB, free: 6.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.1007, allocations: 110.3 kB / 364.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1008, allocations: 78.02 kB / 364.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.101, allocations: 358.8 kB / 365.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.1012, allocations: 100.6 kB / 365.2 MB, free: 5.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.1015, allocations: 256.1 kB / 365.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.102, allocations: 281.2 kB / 365.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.102, allocations: 0 / 365.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007053/0.1027, allocations: 420.3 kB / 366.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.1028, allocations: 33.7 kB / 366.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1028, allocations: 0 / 366.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.103, allocations: 49.7 kB / 366.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.1033, allocations: 67.89 kB / 366.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.1056, allocations: 2.968 MB / 369.3 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.1059, allocations: 47.58 kB / 369.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.106, allocations: 12 kB / 369.4 MB, free: 0.9141 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.0001867/0.1062, allocations: 161.8 kB / 369.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.1063, allocations: 55.38 kB / 369.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.1064, allocations: 52.69 kB / 369.6 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1064, allocations: 4 kB / 369.6 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1064, allocations: 3.938 kB / 369.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1489/0.2553, allocations: 0.64 MB / 370.3 MB, free: 25.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.2571, allocations: 0.8992 MB / 371.2 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2571, allocations: 4.375 kB / 371.2 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.2575, allocations: 66.66 kB / 371.2 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2575, allocations: 1.656 kB / 371.2 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.2575, allocations: 10.06 kB / 371.2 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.2576, allocations: 1.906 kB / 371.3 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2576, allocations: 1.5 kB / 371.3 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.2585, allocations: 0.5228 MB / 371.8 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.2588, allocations: 162.1 kB / 371.9 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/0.2589, allocations: 7.25 kB / 371.9 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.2592, allocations: 18.28 kB / 372 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.2593, allocations: 24.28 kB / 372 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.2593, allocations: 10.52 kB / 372 MB, free: 25.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003801/0.2597, allocations: 322 kB / 372.3 MB, free: 25.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2597, allocations: 2.438 kB / 372.3 MB, free: 25.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.2602, allocations: 129.6 kB / 372.4 MB, free: 25.02 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.0001117/0.2603, allocations: 107.2 kB / 372.5 MB, free: 24.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.2612, allocations: 0.5704 MB / 373.1 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2612, allocations: 1.094 kB / 373.1 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.2615, allocations: 125.9 kB / 373.2 MB, free: 24.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006905/0.2622, allocations: 136 kB / 373.4 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2637, allocations: 0.8752 MB / 374.2 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.264, allocations: 0.8194 MB / 375.1 MB, free: 23.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.2643, allocations: 60.92 kB / 375.1 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2644, allocations: 40.38 kB / 375.2 MB, free: 23.42 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2644, allocations: 0 / 375.2 MB, free: 23.42 MB / 302.1 MB Notification: Performance of Templates: time 0.01501/0.2794, allocations: 8.119 MB / 383.3 MB, free: 21.41 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/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