Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 105.5 kB / 16.51 MB, free: 6.707 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.001228/0.001228, allocations: 190.6 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000882/0.000882, allocations: 51.52 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07369/0.07458, allocations: 49.44 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003848/0.07846, allocations: 3.511 MB / 353 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.07983, allocations: 0.9502 MB / 354 MB, free: 272 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.08004, allocations: 4 kB / 354 MB, free: 268 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.08034, allocations: 91.45 kB / 354.1 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.08068, allocations: 162.7 kB / 354.2 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.08092, allocations: 104 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.08147, allocations: 0.613 MB / 354.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.0817, allocations: 171.2 kB / 355.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.08192, allocations: 227.1 kB / 355.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.0822, allocations: 262.8 kB / 355.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.08227, allocations: 40 kB / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.08238, allocations: 40 kB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.08246, allocations: 103.6 kB / 355.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.08271, allocations: 282.6 kB / 356 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.08317, allocations: 0.6189 MB / 356.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.08318, allocations: 4 kB / 356.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.08319, allocations: 3.938 kB / 356.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.0832, allocations: 0 / 356.7 MB, free: 13.56 MB / 302.1 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.001191/0.08439, allocations: 0.8389 MB / 357.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.08443, allocations: 8.031 kB / 357.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.08455, allocations: 79.72 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.726e-05/0.08466, allocations: 60.28 kB / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.0851, allocations: 399 kB / 358 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/0.0852, allocations: 63.25 kB / 358.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.08525, allocations: 36.38 kB / 358.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.08589, allocations: 466 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.08591, allocations: 3.906 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.08596, allocations: 20 kB / 358.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.08598, allocations: 8 kB / 358.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.08651, allocations: 283.8 kB / 358.9 MB, free: 11.15 MB / 302.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.001804/0.08832, allocations: 1.312 MB / 360.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.08935, allocations: 439.6 kB / 360.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.0896, allocations: 140.8 kB / 360.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.08964, allocations: 11.98 kB / 360.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.08967, allocations: 38.56 kB / 360.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.462e-06/0.08968, allocations: 4 kB / 360.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001038/0.09072, allocations: 0.5997 MB / 361.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.09089, allocations: 449 kB / 361.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.09133, allocations: 450 kB / 362.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.09137, allocations: 37.7 kB / 362.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.09152, allocations: 232.3 kB / 362.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.0916, allocations: 114.4 kB / 362.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.09172, allocations: 70.03 kB / 362.7 MB, free: 6.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.09184, allocations: 358.8 kB / 363.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.09207, allocations: 108.5 kB / 363.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.0924, allocations: 256 kB / 363.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.09285, allocations: 288.8 kB / 363.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09286, allocations: 0 / 363.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000641/0.0935, allocations: 416.3 kB / 364.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.09354, allocations: 33.7 kB / 364.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.09355, allocations: 0 / 364.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.09369, allocations: 57.66 kB / 364.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.09399, allocations: 63.91 kB / 364.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.09602, allocations: 2.736 MB / 367 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.09636, allocations: 51.72 kB / 367.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.09639, allocations: 12.03 kB / 367.1 MB, free: 2.27 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.09657, allocations: 174 kB / 367.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.09665, allocations: 51.42 kB / 367.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.09673, allocations: 48.7 kB / 367.4 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.09674, allocations: 7.938 kB / 367.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.09675, allocations: 4 kB / 367.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005868/0.09734, allocations: 0.6492 MB / 368 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.09849, allocations: 0.8991 MB / 368.9 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.09851, allocations: 7.984 kB / 368.9 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.09884, allocations: 71.91 kB / 369 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.09885, allocations: 240 / 369 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.09887, allocations: 15.98 kB / 369 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.09888, allocations: 3.938 kB / 369 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.09889, allocations: 0 / 369 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1058/0.2047, allocations: 0.5044 MB / 369.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.2049, allocations: 166.8 kB / 369.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.2049, allocations: 12.03 kB / 369.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.2053, allocations: 21.17 kB / 369.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.2053, allocations: 19.31 kB / 369.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.2053, allocations: 7.141 kB / 369.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.2056, allocations: 322.7 kB / 370.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2057, allocations: 0 / 370.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.2061, allocations: 138.1 kB / 370.2 MB, free: 25.4 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008663/0.2069, allocations: 1.071 MB / 371.3 MB, free: 24.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.2077, allocations: 0.5557 MB / 371.8 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2077, allocations: 1.281 kB / 371.8 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.2079, allocations: 125.2 kB / 371.9 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.2085, allocations: 123 kB / 372.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.2131, allocations: 4.529 MB / 376.6 MB, free: 21.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.2133, allocations: 0.8223 MB / 377.4 MB, free: 21.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.2135, allocations: 61.67 kB / 377.5 MB, free: 21.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.2137, allocations: 165.8 kB / 377.6 MB, free: 21.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2137, allocations: 4 kB / 377.6 MB, free: 21.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/1.277, allocations: 11.98 MB / 389.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.277, allocations: 234 kB / 389.8 MB, free: 16.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.334, allocations: 0 / 389.8 MB, free: 16.99 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches