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.001146/0.001146, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001249/0.001249, allocations: 190 kB / 17.54 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.292/1.292, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 43.14 kB / 300.2 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.08355, allocations: 49.45 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004259/0.08785, allocations: 3.507 MB / 353.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.08953, allocations: 0.9424 MB / 354.1 MB, free: 176 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.08994, allocations: 8 kB / 354.1 MB, free: 168 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.09035, allocations: 83.45 kB / 354.2 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.09091, allocations: 174.7 kB / 354.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.09123, allocations: 99.91 kB / 354.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007729/0.09201, allocations: 0.6332 MB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.09235, allocations: 195.1 kB / 355.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.09271, allocations: 235.2 kB / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.09314, allocations: 274.8 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.09326, allocations: 60 kB / 355.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.09339, allocations: 52 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.0935, allocations: 119.6 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.0938, allocations: 294.6 kB / 356.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.09442, allocations: 0.6385 MB / 357 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09444, allocations: 0 / 357 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09445, allocations: 0 / 357 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.09447, allocations: 0 / 357 MB, free: 13.33 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.001428/0.0959, allocations: 0.8389 MB / 357.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.09595, allocations: 8.031 kB / 357.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.09609, allocations: 79.72 kB / 357.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.09622, allocations: 60.28 kB / 358 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.09674, allocations: 395 kB / 358.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.642e-05/0.09684, allocations: 63.25 kB / 358.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.09691, allocations: 40.36 kB / 358.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.09764, allocations: 469.7 kB / 358.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.09768, allocations: 15.78 kB / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.09773, allocations: 16 kB / 358.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.09774, allocations: 8 kB / 358.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.09832, allocations: 283.8 kB / 359.2 MB, free: 10.91 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.002171/0.1005, allocations: 1.316 MB / 360.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1016, allocations: 436.4 kB / 361 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1018, allocations: 144.8 kB / 361.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.1019, allocations: 11.97 kB / 361.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1019, allocations: 42.56 kB / 361.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.1019, allocations: 0 / 361.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001031/0.103, allocations: 0.6036 MB / 361.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.1031, allocations: 441 kB / 362.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.1036, allocations: 454 kB / 362.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1037, allocations: 37.7 kB / 362.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1038, allocations: 232.3 kB / 362.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1039, allocations: 114.4 kB / 363 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1041, allocations: 66.03 kB / 363.1 MB, free: 6.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1042, allocations: 358.8 kB / 363.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.1045, allocations: 108.6 kB / 363.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.1048, allocations: 252 kB / 363.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.1053, allocations: 284.8 kB / 364 MB, free: 5.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1053, allocations: 0 / 364 MB, free: 5.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006591/0.106, allocations: 416.3 kB / 364.5 MB, free: 5.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.106, allocations: 36.36 kB / 364.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.106, allocations: 0 / 364.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.1062, allocations: 61.66 kB / 364.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.1065, allocations: 59.91 kB / 364.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.1087, allocations: 2.976 MB / 367.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1091, allocations: 47.72 kB / 367.6 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.1092, allocations: 8 kB / 367.6 MB, free: 1.789 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.0001897/0.1094, allocations: 174 kB / 367.8 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.1094, allocations: 47.44 kB / 367.9 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.138e-05/0.1095, allocations: 56.62 kB / 367.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1096, allocations: 4 kB / 367.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1096, allocations: 0 / 367.9 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006048/0.1102, allocations: 0.6531 MB / 368.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1469/0.2571, allocations: 0.9007 MB / 369.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.2572, allocations: 0 / 369.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.2575, allocations: 70.97 kB / 369.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.2576, allocations: 6.984 kB / 369.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.2576, allocations: 5.688 kB / 369.6 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2576, allocations: 2.547 kB / 369.6 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2576, allocations: 0.5938 kB / 369.6 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.2584, allocations: 0.5142 MB / 370.1 MB, free: 25.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.2586, allocations: 164.7 kB / 370.2 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.2587, allocations: 7.922 kB / 370.2 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.259, allocations: 20.31 kB / 370.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.2591, allocations: 20 kB / 370.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2591, allocations: 10.44 kB / 370.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003641/0.2595, allocations: 319.7 kB / 370.6 MB, free: 24.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2595, allocations: 0.6562 kB / 370.6 MB, free: 24.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.26, allocations: 141.5 kB / 370.7 MB, free: 24.83 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.0009842/0.261, allocations: 1.067 MB / 371.8 MB, free: 24.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008485/0.2618, allocations: 0.5759 MB / 372.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2619, allocations: 2.844 kB / 372.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2621, allocations: 123 kB / 372.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.2628, allocations: 135.3 kB / 372.6 MB, free: 23.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.268, allocations: 4.527 MB / 377.2 MB, free: 21.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2682, allocations: 0.8246 MB / 378 MB, free: 20.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.2685, allocations: 64.27 kB / 378 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.2687, allocations: 160.7 kB / 378.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2687, allocations: 0 / 378.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2985, allocations: 12.42 MB / 390.6 MB, free: 16.6 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.2987, allocations: 240.2 kB / 390.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.518, allocations: 3.938 kB / 390.9 MB, free: 16.34 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