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.001015/0.001015, allocations: 94.92 kB / 17.31 MB, free: 5.676 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.001293/0.001293, allocations: 176.6 kB / 18.21 MB, free: 5.25 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.289/1.289, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002632, allocations: 11.94 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08273/0.08302, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003229/0.08628, allocations: 3.141 MB / 355.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.08779, allocations: 0.8763 MB / 356.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.08807, allocations: 4 kB / 356.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.08838, allocations: 91.42 kB / 356.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.08882, allocations: 162.7 kB / 356.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.08909, allocations: 107.9 kB / 356.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006309/0.08973, allocations: 0.6127 MB / 357.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.09, allocations: 175.2 kB / 357.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.09027, allocations: 219.1 kB / 357.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.09059, allocations: 254.8 kB / 358.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.09068, allocations: 39.94 kB / 358.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.09077, allocations: 36 kB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.09087, allocations: 95.66 kB / 358.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.09115, allocations: 296.3 kB / 358.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.09154, allocations: 478.6 kB / 359 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09155, allocations: 0 / 359 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09156, allocations: 0 / 359 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.09158, allocations: 0 / 359 MB, free: 13.12 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.001175/0.09276, allocations: 0.7533 MB / 359.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.0928, allocations: 12.03 kB / 359.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.09293, allocations: 60.28 kB / 359.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.09342, allocations: 390.6 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.902e-05/0.09353, allocations: 66.91 kB / 360.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.0936, allocations: 36.38 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.09428, allocations: 461.1 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.09431, allocations: 0 / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.09435, allocations: 20 kB / 360.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.09437, allocations: 8 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.09495, allocations: 294.5 kB / 361.1 MB, free: 10.89 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.001957/0.09692, allocations: 1.306 MB / 362.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.09802, allocations: 442.5 kB / 362.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.09829, allocations: 144.8 kB / 363 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.09833, allocations: 4 kB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.09836, allocations: 42.56 kB / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.09837, allocations: 0 / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001128/0.0995, allocations: 0.6154 MB / 363.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.09968, allocations: 449 kB / 364.1 MB, free: 7.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.1002, allocations: 453.9 kB / 364.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.1002, allocations: 33.7 kB / 364.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1004, allocations: 228.5 kB / 364.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.744e-05/0.1005, allocations: 118.3 kB / 364.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.1005, allocations: 33.7 kB / 364.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1006, allocations: 358.8 kB / 365.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.1009, allocations: 108.6 kB / 365.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1012, allocations: 260 kB / 365.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.1017, allocations: 289.5 kB / 365.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1018, allocations: 0 / 365.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007033/0.1025, allocations: 424.3 kB / 366.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.1025, allocations: 32.67 kB / 366.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1025, allocations: 96 / 366.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.1027, allocations: 57.56 kB / 366.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.103, allocations: 71.98 kB / 366.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.1051, allocations: 2.752 MB / 369.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.1055, allocations: 51.7 kB / 369.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.1055, allocations: 12 kB / 369.3 MB, free: 1.996 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.0001809/0.1057, allocations: 165.7 kB / 369.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.1058, allocations: 47.44 kB / 369.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.025e-05/0.1059, allocations: 52.69 kB / 369.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1059, allocations: 4 kB / 369.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1059, allocations: 3.938 kB / 369.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006276/0.1065, allocations: 0.6609 MB / 370.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1501/0.2567, allocations: 0.9077 MB / 371.1 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2567, allocations: 1.938 kB / 371.1 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.2571, allocations: 71.22 kB / 371.2 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.2572, allocations: 2.156 kB / 371.2 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.2572, allocations: 6.422 kB / 371.2 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2572, allocations: 1.656 kB / 371.2 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2572, allocations: 0.6562 kB / 371.2 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.2582, allocations: 0.5316 MB / 371.8 MB, free: 25.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.2584, allocations: 163.8 kB / 371.9 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.2585, allocations: 10.7 kB / 371.9 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.2588, allocations: 20.2 kB / 371.9 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.2588, allocations: 20.75 kB / 372 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.2589, allocations: 8.922 kB / 372 MB, free: 25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004004/0.2593, allocations: 321 kB / 372.3 MB, free: 24.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2593, allocations: 5.062 kB / 372.3 MB, free: 24.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004624/0.2597, allocations: 129.5 kB / 372.4 MB, free: 24.92 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.0001126/0.2599, allocations: 108 kB / 372.5 MB, free: 24.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008458/0.2607, allocations: 0.565 MB / 373.1 MB, free: 24.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2607, allocations: 2.031 kB / 373.1 MB, free: 24.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.261, allocations: 134.2 kB / 373.2 MB, free: 24.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.2617, allocations: 124.8 kB / 373.3 MB, free: 24.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.2632, allocations: 1.129 MB / 374.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2634, allocations: 0.8156 MB / 375.3 MB, free: 23.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2635, allocations: 41.62 kB / 375.3 MB, free: 23.23 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2635, allocations: 7.938 kB / 375.3 MB, free: 23.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01113/0.2747, allocations: 8.162 MB / 383.5 MB, free: 21.02 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/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