Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 117 kB / 18.39 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 204.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 60.44 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08722, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004228/0.09149, allocations: 3.5 MB / 362.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.09305, allocations: 0.9851 MB / 363.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.09328, allocations: 11.94 kB / 363.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.09362, allocations: 103.1 kB / 363.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.09397, allocations: 190.4 kB / 363.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.09424, allocations: 123.8 kB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.0949, allocations: 0.6302 MB / 364.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.0952, allocations: 194.8 kB / 364.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.09544, allocations: 239.1 kB / 364.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.09575, allocations: 270.8 kB / 365.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.09583, allocations: 56 kB / 365.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.09592, allocations: 56 kB / 365.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.679e-05/0.09603, allocations: 123.5 kB / 365.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.09627, allocations: 294.6 kB / 365.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.09682, allocations: 0.6346 MB / 366.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.09683, allocations: 0 / 366.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09684, allocations: 3.938 kB / 366.3 MB, free: 5.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.09686, allocations: 0 / 366.3 MB, free: 5.926 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.001311/0.09817, allocations: 0.8467 MB / 367.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.09821, allocations: 8.031 kB / 367.1 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.09833, allocations: 60.28 kB / 367.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.0989, allocations: 398.6 kB / 367.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.09901, allocations: 62.91 kB / 367.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.09907, allocations: 28.38 kB / 367.7 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.09972, allocations: 453.1 kB / 368.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.09975, allocations: 3.938 kB / 368.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.09979, allocations: 16 kB / 368.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.09981, allocations: 11.98 kB / 368.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.1004, allocations: 278.5 kB / 368.4 MB, free: 3.633 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.001983/0.1024, allocations: 1.294 MB / 369.7 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1035, allocations: 428.6 kB / 370.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.1037, allocations: 152.2 kB / 370.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.1038, allocations: 15.97 kB / 370.3 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1038, allocations: 38.56 kB / 370.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.1038, allocations: 0 / 370.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001113/0.1049, allocations: 0.5984 MB / 370.9 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.1051, allocations: 452.9 kB / 371.4 MB, free: 404 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1569/0.262, allocations: 447.6 kB / 371.8 MB, free: 20.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.2621, allocations: 36.83 kB / 371.8 MB, free: 20.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2623, allocations: 230.3 kB / 372.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2624, allocations: 115.1 kB / 372.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2626, allocations: 74.88 kB / 372.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.2627, allocations: 356 kB / 372.6 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.263, allocations: 104.8 kB / 372.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.2633, allocations: 252.8 kB / 372.9 MB, free: 19.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.2639, allocations: 280.5 kB / 373.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2639, allocations: 0.8438 kB / 373.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007633/0.2646, allocations: 418.3 kB / 373.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2647, allocations: 32.36 kB / 373.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2647, allocations: 2.438 kB / 373.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.2649, allocations: 48.38 kB / 373.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.2652, allocations: 71.14 kB / 373.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.2671, allocations: 2.97 MB / 376.7 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.2675, allocations: 46.27 kB / 376.8 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.2675, allocations: 13.58 kB / 376.8 MB, free: 16.68 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.0001754/0.2677, allocations: 163.9 kB / 377 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.2678, allocations: 52.78 kB / 377 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.2679, allocations: 61 kB / 377.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2679, allocations: 3.656 kB / 377.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2679, allocations: 1.281 kB / 377.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005893/0.2685, allocations: 0.6479 MB / 377.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.2699, allocations: 0.8964 MB / 378.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2699, allocations: 1.094 kB / 378.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.2703, allocations: 62.92 kB / 378.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2703, allocations: 6.219 kB / 378.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.2703, allocations: 15.73 kB / 378.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2703, allocations: 1.969 kB / 378.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2703, allocations: 0 / 378.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.2711, allocations: 0.5268 MB / 379.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.2712, allocations: 161.2 kB / 379.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.2713, allocations: 8.922 kB / 379.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.2716, allocations: 18.05 kB / 379.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.2716, allocations: 20.61 kB / 379.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.2717, allocations: 6.297 kB / 379.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.272, allocations: 323.1 kB / 379.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.272, allocations: 3.5 kB / 379.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.2724, allocations: 128.6 kB / 379.9 MB, free: 14.68 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.0001091/0.2725, allocations: 106.1 kB / 380 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008057/0.2733, allocations: 0.5679 MB / 380.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2734, allocations: 0 / 380.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.2736, allocations: 127.4 kB / 380.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.2742, allocations: 133.9 kB / 380.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2755, allocations: 0.8765 MB / 381.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2757, allocations: 0.815 MB / 382.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.276, allocations: 66.69 kB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2761, allocations: 37.66 kB / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2761, allocations: 0 / 382.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01519/0.2913, allocations: 8.111 MB / 390.7 MB, free: 10.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches