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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008728/0.0008729, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.211/1.211, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0006834/0.0006833, allocations: 81.05 kB / 271.2 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 19.98 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1826, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002408/0.185, allocations: 3.002 MB / 378.2 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000955/0.186, allocations: 0.8773 MB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1862, allocations: 9.125 kB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1864, allocations: 76.44 kB / 379.1 MB, free: 42.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1866, allocations: 156.5 kB / 379.3 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.1868, allocations: 99.3 kB / 379.4 MB, free: 42.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.1873, allocations: 0.5895 MB / 380 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.1875, allocations: 177.5 kB / 380.2 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1877, allocations: 206.9 kB / 380.4 MB, free: 41.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1879, allocations: 240 kB / 380.6 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.1879, allocations: 33.88 kB / 380.6 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.188, allocations: 34.97 kB / 380.7 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1881, allocations: 98.02 kB / 380.8 MB, free: 41.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.1883, allocations: 289.7 kB / 381 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1886, allocations: 482.2 kB / 381.5 MB, free: 40.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1886, allocations: 0 / 381.5 MB, free: 40.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1886, allocations: 0 / 381.5 MB, free: 40.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1886, allocations: 4 kB / 381.5 MB, free: 40.7 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.0009571/0.1896, allocations: 0.7541 MB / 382.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1896, allocations: 9.406 kB / 382.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.15e-05/0.1897, allocations: 80.67 kB / 382.4 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.1898, allocations: 60.94 kB / 382.4 MB, free: 39.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.1902, allocations: 395.4 kB / 382.8 MB, free: 39.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.1903, allocations: 61.83 kB / 382.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.1904, allocations: 34.12 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.191, allocations: 481.2 kB / 383.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.191, allocations: 0.9688 kB / 383.4 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.1911, allocations: 16.91 kB / 383.4 MB, free: 39.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.1911, allocations: 7.406 kB / 383.4 MB, free: 39.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.1916, allocations: 292.2 kB / 383.7 MB, free: 39.02 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.001687/0.1933, allocations: 1.32 MB / 385 MB, free: 37.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009977/0.1943, allocations: 436.1 kB / 385.4 MB, free: 37.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.1945, allocations: 147 kB / 385.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.1946, allocations: 8.359 kB / 385.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.1946, allocations: 38 kB / 385.6 MB, free: 37.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.1946, allocations: 1.125 kB / 385.6 MB, free: 37.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001001/0.1956, allocations: 0.6234 MB / 386.2 MB, free: 37.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.1957, allocations: 442.7 kB / 386.7 MB, free: 36.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.1961, allocations: 449.3 kB / 387.1 MB, free: 36.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1961, allocations: 34.67 kB / 387.1 MB, free: 36.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1963, allocations: 236.5 kB / 387.4 MB, free: 36.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.1963, allocations: 118.4 kB / 387.5 MB, free: 35.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.1963, allocations: 4 kB / 387.5 MB, free: 35.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.1964, allocations: 354.8 kB / 387.8 MB, free: 35.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1966, allocations: 108.6 kB / 387.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.1969, allocations: 260 kB / 388.2 MB, free: 35.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.1973, allocations: 285 kB / 388.5 MB, free: 34.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1973, allocations: 4 kB / 388.5 MB, free: 34.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005636/0.1979, allocations: 425 kB / 388.9 MB, free: 34.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1979, allocations: 37.08 kB / 388.9 MB, free: 34.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1979, allocations: 7.984 kB / 388.9 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.198, allocations: 49.69 kB / 389 MB, free: 34.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.1983, allocations: 67.89 kB / 389.1 MB, free: 34.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.1998, allocations: 2.752 MB / 391.8 MB, free: 31.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.2002, allocations: 47.61 kB / 391.9 MB, free: 31.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2002, allocations: 23.94 kB / 391.9 MB, free: 31.14 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.0001685/0.2004, allocations: 161.8 kB / 392 MB, free: 30.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.2005, allocations: 47.67 kB / 392.1 MB, free: 30.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.2006, allocations: 52.69 kB / 392.1 MB, free: 30.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2006, allocations: 8.078 kB / 392.1 MB, free: 30.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2006, allocations: 3.938 kB / 392.1 MB, free: 30.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004712/0.201, allocations: 0.6532 MB / 392.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.202, allocations: 0.9204 MB / 393.7 MB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.202, allocations: 0 / 393.7 MB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.2024, allocations: 67.89 kB / 393.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2024, allocations: 4 kB / 393.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.2024, allocations: 7.938 kB / 393.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2024, allocations: 4 kB / 393.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2024, allocations: 0 / 393.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.203, allocations: 0.527 MB / 394.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.2032, allocations: 164.4 kB / 394.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.2032, allocations: 15.88 kB / 394.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.2035, allocations: 24.05 kB / 394.5 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.2036, allocations: 19.97 kB / 394.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2036, allocations: 8 kB / 394.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002361/0.2039, allocations: 315.1 kB / 394.9 MB, free: 27.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2039, allocations: 0 / 394.9 MB, free: 27.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.2042, allocations: 131.8 kB / 395 MB, free: 27.82 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 0.0008061/0.205, allocations: 1.079 MB / 396.1 MB, free: 26.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006662/0.2057, allocations: 0.5598 MB / 396.6 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2057, allocations: 0 / 396.6 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.2059, allocations: 135.8 kB / 396.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.2065, allocations: 125.9 kB / 396.9 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.2096, allocations: 2.775 MB / 399.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2098, allocations: 0.8198 MB / 400.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.21, allocations: 163.4 kB / 400.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.21, allocations: 0 / 400.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.232/3.441, allocations: 9.068 MB / 409.7 MB, free: 12.93 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > 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/jenkins1/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