Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002298/0.002297, allocations: 183.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 92.31 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005712/0.0005714, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4399, allocations: 47.56 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006362/0.4463, allocations: 4.425 MB / 378.9 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.45, allocations: 1.407 MB / 380.3 MB, free: 40.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.4512, allocations: 13.78 kB / 380.4 MB, free: 40.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.4519, allocations: 114.6 kB / 380.5 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.4537, allocations: 409.7 kB / 380.9 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.4545, allocations: 204.8 kB / 381.1 MB, free: 40.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.4568, allocations: 0.9232 MB / 382 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.4575, allocations: 324.5 kB / 382.3 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009491/0.4585, allocations: 437.2 kB / 382.7 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009749/0.4595, allocations: 499 kB / 383.2 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.4598, allocations: 68.56 kB / 383.3 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.4602, allocations: 77.62 kB / 383.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.4604, allocations: 193.3 kB / 383.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.4607, allocations: 242.2 kB / 383.8 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.462, allocations: 0.9656 MB / 384.8 MB, free: 37.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.462, allocations: 4 kB / 384.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4621, allocations: 0 / 384.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.4621, allocations: 0 / 384.8 MB, free: 37.86 MB / 298.7 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.00355/0.4657, allocations: 1.297 MB / 386.1 MB, free: 36.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4657, allocations: 8.5 kB / 386.1 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004261/0.4662, allocations: 128.5 kB / 386.2 MB, free: 36.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.4675, allocations: 0.5494 MB / 386.7 MB, free: 36.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.4678, allocations: 158.1 kB / 386.9 MB, free: 36.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.4681, allocations: 70.5 kB / 387 MB, free: 36.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.4704, allocations: 0.9708 MB / 387.9 MB, free: 35.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.4705, allocations: 4 kB / 387.9 MB, free: 35.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.4707, allocations: 32 kB / 388 MB, free: 35.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.4707, allocations: 16 kB / 388 MB, free: 35.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.4728, allocations: 0.6442 MB / 388.6 MB, free: 34.45 MB / 298.7 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.005763/0.4786, allocations: 2.585 MB / 391.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004558/0.4832, allocations: 0.9111 MB / 392.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.4833, allocations: 20.58 kB / 392.2 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.4834, allocations: 55.08 kB / 392.2 MB, free: 30.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.717e-06/0.4834, allocations: 0 / 392.2 MB, free: 30.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.004233/0.4876, allocations: 1.458 MB / 393.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/0.4879, allocations: 0.9489 MB / 394.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.489, allocations: 0.7199 MB / 395.3 MB, free: 27.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.4892, allocations: 45.7 kB / 395.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.4895, allocations: 415.1 kB / 395.8 MB, free: 26.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.4898, allocations: 244.3 kB / 396 MB, free: 26.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.4899, allocations: 16 kB / 396 MB, free: 26.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.49, allocations: 338.8 kB / 396.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.4909, allocations: 269.9 kB / 396.6 MB, free: 25.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.4921, allocations: 0.588 MB / 397.2 MB, free: 25.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.4932, allocations: 400 kB / 397.6 MB, free: 24.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4932, allocations: 4 kB / 397.6 MB, free: 24.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002559/0.4958, allocations: 0.9242 MB / 398.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.4958, allocations: 85.09 kB / 398.6 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4959, allocations: 4 kB / 398.6 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.4964, allocations: 128.2 kB / 398.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4976, allocations: 155.8 kB / 398.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006108/0.5037, allocations: 6.972 MB / 405.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.5056, allocations: 115.3 kB / 406 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5058, allocations: 27.94 kB / 406 MB, free: 15.61 MB / 298.7 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005063/0.5063, allocations: 249.6 kB / 406.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.5065, allocations: 106.8 kB / 406.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.5068, allocations: 96.91 kB / 406.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.5068, allocations: 8 kB / 406.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.5068, allocations: 0 / 406.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00201/0.5088, allocations: 0.9934 MB / 407.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.5129, allocations: 1.723 MB / 409.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.513, allocations: 3.938 kB / 409.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.5144, allocations: 163.8 kB / 409.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.5146, allocations: 28.84 kB / 409.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.5146, allocations: 19.98 kB / 409.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.5158, allocations: 1.444 MB / 410.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5158, allocations: 3.984 kB / 410.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.519, allocations: 1.115 MB / 412 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.5196, allocations: 243.7 kB / 412.2 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.5198, allocations: 20 kB / 412.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.5211, allocations: 59.91 kB / 412.3 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.5213, allocations: 40.59 kB / 412.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.5214, allocations: 16 kB / 412.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008415/0.5222, allocations: 0.4951 MB / 412.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5222, allocations: 0 / 412.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001168/0.5234, allocations: 295.7 kB / 413.1 MB, free: 8.156 MB / 298.7 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.5236, allocations: 119.1 kB / 413.2 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.5266, allocations: 1.421 MB / 414.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.5266, allocations: 0 / 414.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5277, allocations: 442.6 kB / 415.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.5294, allocations: 238.7 kB / 415.3 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/0.5347, allocations: 2.04 MB / 417.4 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008864/0.5357, allocations: 1.002 MB / 418.4 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/0.5366, allocations: 75.42 kB / 418.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5366, allocations: 0 / 418.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of Templates: time 0.09595/0.6326, allocations: 22.31 MB / 440.7 MB, free: 12.31 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches