Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 174.9 kB / 16.72 MB, free: 4.957 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.682/1.682, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007441/0.0007441, allocations: 86.34 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.000325, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2094, allocations: 47.58 MB / 375.1 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002851/0.2123, allocations: 3.002 MB / 378.1 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.2137, allocations: 0.8804 MB / 379 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.214, allocations: 9.781 kB / 379 MB, free: 42.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.2142, allocations: 71.33 kB / 379 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.2145, allocations: 157.7 kB / 379.2 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.2147, allocations: 95.59 kB / 379.3 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.2153, allocations: 0.5932 MB / 379.9 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.2155, allocations: 177.1 kB / 380.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2158, allocations: 209.7 kB / 380.3 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.216, allocations: 244.2 kB / 380.5 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.377e-05/0.2161, allocations: 34.5 kB / 380.5 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.2162, allocations: 34.88 kB / 380.6 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.2163, allocations: 94.62 kB / 380.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.2165, allocations: 288.6 kB / 380.9 MB, free: 41.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.2168, allocations: 478.1 kB / 381.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2168, allocations: 0 / 381.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2168, allocations: 0 / 381.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2169, allocations: 4.969 kB / 381.4 MB, free: 40.72 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001067/0.2179, allocations: 0.7616 MB / 382.2 MB, free: 40.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.218, allocations: 8.812 kB / 382.2 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2181, allocations: 61.19 kB / 382.2 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2185, allocations: 380.1 kB / 382.6 MB, free: 39.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.353e-05/0.2186, allocations: 58.16 kB / 382.7 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.2187, allocations: 42 kB / 382.7 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.2193, allocations: 472.9 kB / 383.2 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2193, allocations: 0 / 383.2 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.2194, allocations: 17.28 kB / 383.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2194, allocations: 7.188 kB / 383.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.2199, allocations: 284.6 kB / 383.5 MB, free: 39.12 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.001743/0.2216, allocations: 1.305 MB / 384.8 MB, free: 38.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2227, allocations: 433.9 kB / 385.2 MB, free: 37.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.223, allocations: 146 kB / 385.3 MB, free: 37.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.223, allocations: 12.58 kB / 385.4 MB, free: 37.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2231, allocations: 47.36 kB / 385.4 MB, free: 37.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.2231, allocations: 0 / 385.4 MB, free: 37.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001033/0.2241, allocations: 0.6073 MB / 386 MB, free: 37.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.2242, allocations: 447.2 kB / 386.4 MB, free: 36.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.2246, allocations: 450.2 kB / 386.9 MB, free: 36.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2247, allocations: 40.55 kB / 386.9 MB, free: 36.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.2248, allocations: 225.8 kB / 387.1 MB, free: 36.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.2249, allocations: 118.4 kB / 387.3 MB, free: 36.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.2249, allocations: 4 kB / 387.3 MB, free: 36.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.225, allocations: 358.8 kB / 387.6 MB, free: 35.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.2252, allocations: 104.6 kB / 387.7 MB, free: 35.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.2254, allocations: 256 kB / 388 MB, free: 35.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.2259, allocations: 288.9 kB / 388.3 MB, free: 34.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2259, allocations: 96 / 388.3 MB, free: 34.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006027/0.2265, allocations: 436.9 kB / 388.7 MB, free: 34.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2265, allocations: 29.7 kB / 388.7 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2265, allocations: 0 / 388.7 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.2267, allocations: 49.69 kB / 388.8 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.227, allocations: 71.84 kB / 388.8 MB, free: 34.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.2286, allocations: 2.736 MB / 391.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.229, allocations: 55.56 kB / 391.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.229, allocations: 15.98 kB / 391.6 MB, free: 31.3 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.2292, allocations: 181.7 kB / 391.8 MB, free: 31.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.2293, allocations: 47.44 kB / 391.9 MB, free: 31.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.2294, allocations: 48.7 kB / 391.9 MB, free: 31.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2294, allocations: 4 kB / 391.9 MB, free: 31.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2294, allocations: 0 / 391.9 MB, free: 31.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005323/0.2299, allocations: 0.657 MB / 392.6 MB, free: 30.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.231, allocations: 0.9087 MB / 393.5 MB, free: 29.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.231, allocations: 3.984 kB / 393.5 MB, free: 29.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.2313, allocations: 75.91 kB / 393.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2313, allocations: 0 / 393.6 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.2314, allocations: 11.98 kB / 393.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2314, allocations: 0 / 393.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2314, allocations: 3.938 kB / 393.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.2321, allocations: 0.5231 MB / 394.1 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.2322, allocations: 164.5 kB / 394.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.2323, allocations: 4 kB / 394.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.2326, allocations: 23.98 kB / 394.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.2327, allocations: 20.14 kB / 394.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2327, allocations: 16.06 kB / 394.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000265/0.233, allocations: 311.1 kB / 394.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.233, allocations: 4 kB / 394.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.2334, allocations: 131.8 kB / 394.8 MB, free: 27.98 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.745e-05/0.2335, allocations: 111.2 kB / 394.9 MB, free: 27.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007406/0.2342, allocations: 0.563 MB / 395.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2342, allocations: 4 kB / 395.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.2344, allocations: 127.8 kB / 395.6 MB, free: 27.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.2351, allocations: 125.9 kB / 395.7 MB, free: 27.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2364, allocations: 1.08 MB / 396.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2366, allocations: 0.8197 MB / 397.6 MB, free: 25.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2367, allocations: 39.44 kB / 397.6 MB, free: 25.01 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2367, allocations: 4 kB / 397.6 MB, free: 25.01 MB / 298.7 MB Notification: Performance of Templates: time 0.008774/0.2455, allocations: 8.183 MB / 405.8 MB, free: 16.84 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches