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.001507/0.001507, allocations: 179 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007407/0.0007404, allocations: 81.33 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2052, allocations: 47.58 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003778/0.209, allocations: 4.898 MB / 379.4 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2106, allocations: 1.338 MB / 380.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.2108, allocations: 14.69 kB / 380.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.2111, allocations: 127.3 kB / 380.9 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.2116, allocations: 335.7 kB / 381.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.2119, allocations: 201 kB / 381.4 MB, free: 39.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000852/0.2127, allocations: 1.193 MB / 382.6 MB, free: 39.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.2131, allocations: 329.2 kB / 383 MB, free: 38.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.2136, allocations: 457.7 kB / 383.4 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.214, allocations: 0.5181 MB / 383.9 MB, free: 38.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.2142, allocations: 80.94 kB / 384 MB, free: 38.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.2143, allocations: 77.47 kB / 384.1 MB, free: 38.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.2145, allocations: 201.8 kB / 384.3 MB, free: 38.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.2146, allocations: 241.5 kB / 384.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.2153, allocations: 1.02 MB / 385.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2153, allocations: 0 / 385.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2153, allocations: 5.25 kB / 385.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.2153, allocations: 0 / 385.5 MB, free: 37.29 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.001872/0.2172, allocations: 1.313 MB / 386.9 MB, free: 36.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2172, allocations: 9.312 kB / 386.9 MB, free: 36.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.2174, allocations: 126.9 kB / 387 MB, free: 36.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.2181, allocations: 0.6044 MB / 387.6 MB, free: 35.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.2183, allocations: 159 kB / 387.7 MB, free: 35.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.2184, allocations: 68 kB / 387.8 MB, free: 35.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.2195, allocations: 0.9744 MB / 388.8 MB, free: 34.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2196, allocations: 0 / 388.8 MB, free: 34.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.2196, allocations: 39.94 kB / 388.8 MB, free: 34.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2197, allocations: 23.98 kB / 388.8 MB, free: 34.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2207, allocations: 0.6364 MB / 389.5 MB, free: 33.62 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.002927/0.2236, allocations: 2.648 MB / 392.1 MB, free: 30.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.2257, allocations: 0.8837 MB / 393 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.2263, allocations: 359.2 kB / 393.4 MB, free: 29.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.2263, allocations: 20.64 kB / 393.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2264, allocations: 51.08 kB / 393.4 MB, free: 29.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.843e-06/0.2264, allocations: 0 / 393.4 MB, free: 29.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001981/0.2284, allocations: 1.44 MB / 394.9 MB, free: 27.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.2285, allocations: 0.9489 MB / 395.8 MB, free: 26.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.2292, allocations: 0.7824 MB / 396.6 MB, free: 25.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.2292, allocations: 45.7 kB / 396.7 MB, free: 25.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2294, allocations: 408.5 kB / 397.1 MB, free: 25.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.2296, allocations: 248.3 kB / 397.3 MB, free: 25.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.2296, allocations: 20 kB / 397.3 MB, free: 25.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.2297, allocations: 334 kB / 397.6 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.2301, allocations: 257.9 kB / 397.9 MB, free: 24.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.2308, allocations: 0.5997 MB / 398.5 MB, free: 23.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.2313, allocations: 404.1 kB / 398.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2313, allocations: 3.938 kB / 398.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001321/0.2326, allocations: 0.9819 MB / 399.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.2327, allocations: 82.05 kB / 400 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2327, allocations: 4 kB / 400 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.233, allocations: 132.2 kB / 400.1 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.2336, allocations: 155.8 kB / 400.2 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.2369, allocations: 6.781 MB / 407 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.2377, allocations: 115.1 kB / 407.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.2378, allocations: 28 kB / 407.2 MB, free: 14.49 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 (80): * Single equations (assignments): 72 * 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%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002668/0.2381, allocations: 241.8 kB / 407.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2382, allocations: 98.88 kB / 407.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.2383, allocations: 100.9 kB / 407.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2383, allocations: 15.89 kB / 407.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2384, allocations: 0 / 407.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.2394, allocations: 0.9895 MB / 408.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.2416, allocations: 1.769 MB / 410.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2416, allocations: 0 / 410.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.2423, allocations: 155.8 kB / 410.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.899e-05/0.2423, allocations: 24.84 kB / 410.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.2424, allocations: 19.98 kB / 410.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005264/0.2429, allocations: 1.312 MB / 411.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2429, allocations: 3.953 kB / 411.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.2445, allocations: 1.103 MB / 413 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.2448, allocations: 259.6 kB / 413.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.2449, allocations: 23.95 kB / 413.3 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.2455, allocations: 51.97 kB / 413.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2456, allocations: 44.58 kB / 413.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.2457, allocations: 16 kB / 413.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000481/0.2461, allocations: 0.542 MB / 413.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2461, allocations: 4 kB / 413.9 MB, free: 7.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005931/0.2467, allocations: 291.7 kB / 414.2 MB, free: 7.09 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 (70): * Single equations (assignments): 69 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.2469, allocations: 123.1 kB / 414.3 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.2484, allocations: 1.413 MB / 415.7 MB, free: 5.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2484, allocations: 4 kB / 415.7 MB, free: 5.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.249, allocations: 430.5 kB / 416.2 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.25, allocations: 271.1 kB / 416.4 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.2522, allocations: 2.046 MB / 418.5 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.2525, allocations: 0.9758 MB / 419.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.2527, allocations: 83.42 kB / 419.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2527, allocations: 0 / 419.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of Templates: time 0.02328/0.276, allocations: 24.14 MB / 443.7 MB, free: 9.391 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/jenkins/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