Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 108.1 kB / 17.06 MB, free: 6.02 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.001769/0.001769, allocations: 195.9 kB / 18 MB, free: 5.102 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.439/1.439, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009607/0.0009607, allocations: 43.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2297, allocations: 49.43 MB / 400.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006107/0.2358, allocations: 5.616 MB / 406.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2384, allocations: 1.413 MB / 407.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.2388, allocations: 11.94 kB / 407.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.2393, allocations: 198.3 kB / 408 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.2401, allocations: 404.7 kB / 408.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.2406, allocations: 259.6 kB / 408.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.2419, allocations: 1.362 MB / 410 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005166/0.2424, allocations: 408.4 kB / 410.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.2429, allocations: 0.5099 MB / 410.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.2435, allocations: 0.5797 MB / 411.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.2437, allocations: 116 kB / 411.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2439, allocations: 128 kB / 411.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.2441, allocations: 263 kB / 412 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.2446, allocations: 0.6067 MB / 412.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2458, allocations: 1.401 MB / 414 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2458, allocations: 0 / 414 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2458, allocations: 0 / 414 MB, free: 11.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.2458, allocations: 0 / 414 MB, free: 11.67 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002482/0.2483, allocations: 1.493 MB / 415.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2484, allocations: 11.97 kB / 415.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.2486, allocations: 123.6 kB / 415.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/0.2495, allocations: 0.6382 MB / 416.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.2497, allocations: 151.7 kB / 416.4 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2499, allocations: 72.28 kB / 416.4 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.2514, allocations: 0.9708 MB / 417.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.2514, allocations: 3.984 kB / 417.4 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.2515, allocations: 36 kB / 417.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.2515, allocations: 19.94 kB / 417.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2528, allocations: 0.6129 MB / 418.1 MB, free: 7.301 MB / 334.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.004393/0.2572, allocations: 2.632 MB / 420.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.2599, allocations: 0.8634 MB / 421.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007375/0.2607, allocations: 354.6 kB / 421.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.2607, allocations: 16.64 kB / 421.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2608, allocations: 47.22 kB / 422 MB, free: 3.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.2608, allocations: 4 kB / 422 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002705/0.2635, allocations: 1.408 MB / 423.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004274/0.264, allocations: 0.9489 MB / 424.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.265, allocations: 0.7805 MB / 425.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.2651, allocations: 49.7 kB / 425.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.2654, allocations: 420.5 kB / 425.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.2657, allocations: 248.2 kB / 425.8 MB, free: 15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.2659, allocations: 154.7 kB / 426 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2661, allocations: 334 kB / 426.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.2666, allocations: 253.9 kB / 426.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.2674, allocations: 0.588 MB / 427.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.2686, allocations: 0.6678 MB / 427.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2686, allocations: 0 / 427.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001761/0.2704, allocations: 0.9431 MB / 428.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.2705, allocations: 89.09 kB / 428.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2705, allocations: 0 / 428.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.2709, allocations: 124.2 kB / 429 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.2716, allocations: 159.8 kB / 429.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.2773, allocations: 7.325 MB / 436.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009972/0.2784, allocations: 111.3 kB / 436.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.2785, allocations: 27.92 kB / 436.6 MB, free: 3.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.2789, allocations: 241.6 kB / 436.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.2792, allocations: 106.7 kB / 436.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.2794, allocations: 100.9 kB / 437 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2794, allocations: 8 kB / 437 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.2794, allocations: 4 kB / 437 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/0.2809, allocations: 0.9738 MB / 438 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.2838, allocations: 1.733 MB / 439.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2838, allocations: 0 / 439.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.2846, allocations: 155.8 kB / 439.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.9e-05/0.2847, allocations: 32.84 kB / 439.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.2848, allocations: 15.98 kB / 439.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008814/0.2857, allocations: 1.403 MB / 441.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2857, allocations: 0 / 441.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.2877, allocations: 1.081 MB / 442.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.2881, allocations: 255.7 kB / 442.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.2883, allocations: 20 kB / 442.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/0.289, allocations: 43.83 kB / 442.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.2891, allocations: 40.59 kB / 442.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.2891, allocations: 19.98 kB / 442.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006947/0.2898, allocations: 0.5459 MB / 443.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2898, allocations: 4 kB / 443.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008067/0.2907, allocations: 295.6 kB / 443.6 MB, free: 11.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.2908, allocations: 128.4 kB / 443.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.293, allocations: 1.401 MB / 445.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.293, allocations: 0 / 445.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.2937, allocations: 422.6 kB / 445.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.2948, allocations: 282.9 kB / 445.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.2977, allocations: 1.68 MB / 447.5 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.2982, allocations: 0.9758 MB / 448.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.2987, allocations: 131.5 kB / 448.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.2989, allocations: 79.44 kB / 448.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2989, allocations: 0 / 448.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of Templates: time 0.02838/0.3273, allocations: 17.81 MB / 466.5 MB, free: 5.133 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches