Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.002269/0.002269, allocations: 105.5 kB / 18.4 MB, free: 4.68 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.0037/0.0037, allocations: 187 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.867/2.867, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001536/0.001536, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.159, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.336/0.4951, allocations: 5.59 MB / 381.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.4991, allocations: 1.463 MB / 382.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.4998, allocations: 15.2 kB / 382.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007343/0.5006, allocations: 194.9 kB / 383.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.5019, allocations: 386.8 kB / 383.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.5028, allocations: 258.4 kB / 383.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.5054, allocations: 1.366 MB / 385.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.5061, allocations: 417 kB / 385.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.5075, allocations: 0.5114 MB / 386 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.509, allocations: 0.5844 MB / 386.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.5093, allocations: 117.9 kB / 386.7 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.5097, allocations: 119.8 kB / 386.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.51, allocations: 259.1 kB / 387.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008936/0.5109, allocations: 0.6092 MB / 387.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.5138, allocations: 1.404 MB / 389.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.5138, allocations: 1.031 kB / 389.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5138, allocations: 0 / 389.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.568e-05/0.5139, allocations: 0.6562 kB / 389.1 MB, free: 7.168 MB / 318.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.004206/0.5181, allocations: 1.487 MB / 390.6 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.785e-05/0.5182, allocations: 9.188 kB / 390.6 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.5186, allocations: 128.5 kB / 390.7 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.5202, allocations: 0.6346 MB / 391.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.5205, allocations: 150.9 kB / 391.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.5207, allocations: 66.42 kB / 391.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.523, allocations: 0.9729 MB / 392.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.523, allocations: 5.031 kB / 392.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.5232, allocations: 33.84 kB / 392.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.5232, allocations: 15.78 kB / 392.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.5251, allocations: 0.6243 MB / 393.2 MB, free: 4.656 MB / 318.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.006355/0.5314, allocations: 2.626 MB / 395.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.5349, allocations: 0.8629 MB / 396.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.536, allocations: 349.7 kB / 397 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.039e-05/0.5361, allocations: 18.27 kB / 397 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/0.5362, allocations: 56.84 kB / 397.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 4.449e-06/0.5362, allocations: 2.312 kB / 397.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.003653/0.5399, allocations: 1.402 MB / 398.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002694/0.5402, allocations: 0.9491 MB / 399.5 MB, free: 460 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5417, allocations: 0.7885 MB / 400.2 MB, free: 112 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.5419, allocations: 49.89 kB / 400.3 MB, free: 64 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/0.5425, allocations: 409.2 kB / 400.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.5428, allocations: 250.1 kB / 400.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/0.5431, allocations: 155.7 kB / 401.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5434, allocations: 333 kB / 401.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.5441, allocations: 258.4 kB / 401.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.5452, allocations: 0.5859 MB / 402.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.5465, allocations: 0.6651 MB / 402.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.5465, allocations: 3.938 kB / 402.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002198/0.5487, allocations: 0.9498 MB / 403.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/0.5489, allocations: 85.95 kB / 404 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5489, allocations: 2.281 kB / 404 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.5493, allocations: 124 kB / 404.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.55, allocations: 154.9 kB / 404.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/0.5571, allocations: 7.331 MB / 411.6 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.5591, allocations: 101.1 kB / 411.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.5592, allocations: 30.98 kB / 411.7 MB, free: 6.129 MB / 334.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.0006158/0.5598, allocations: 240.3 kB / 411.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.5601, allocations: 100.3 kB / 412 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.5603, allocations: 103.3 kB / 412.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5604, allocations: 6.812 kB / 412.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/0.5604, allocations: 1.219 kB / 412.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/0.5621, allocations: 0.9739 MB / 413.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.5655, allocations: 1.742 MB / 414.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5655, allocations: 0 / 414.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/0.5663, allocations: 164.8 kB / 415 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.5665, allocations: 25.53 kB / 415 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.5665, allocations: 19.2 kB / 415 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.5677, allocations: 1.405 MB / 416.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5677, allocations: 1.188 kB / 416.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.5701, allocations: 1.077 MB / 417.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/0.5707, allocations: 257.4 kB / 417.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.5709, allocations: 19.38 kB / 417.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.5716, allocations: 35.12 kB / 417.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5717, allocations: 46.22 kB / 417.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.5717, allocations: 24.14 kB / 417.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008827/0.5726, allocations: 0.5466 MB / 418.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5726, allocations: 0 / 418.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001007/0.5737, allocations: 292.4 kB / 418.7 MB, free: 0.9844 MB / 334.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.0002155/0.5739, allocations: 125.7 kB / 418.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.5763, allocations: 1.39 MB / 420.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.5764, allocations: 2.156 kB / 420.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.5771, allocations: 424.6 kB / 420.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5785, allocations: 284.7 kB / 420.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.5822, allocations: 1.712 MB / 422.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.583, allocations: 0.9792 MB / 423.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.5833, allocations: 79.42 kB / 423.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5833, allocations: 4 kB / 423.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Templates: time 0.04373/0.627, allocations: 24.48 MB / 448.2 MB, free: 4.805 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches