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.000785/0.0007851, allocations: 91.41 kB / 16.65 MB, free: 6.535 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.000857/0.000857, allocations: 174.2 kB / 17.56 MB, free: 6.184 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.172/1.172, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001971/0.0001971, allocations: 7.984 kB / 301.5 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07274/0.07295, allocations: 50.41 MB / 351.9 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002787/0.07577, allocations: 3.137 MB / 355.1 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.07684, allocations: 0.8802 MB / 356 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.07697, allocations: 4 kB / 356 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.07719, allocations: 91.42 kB / 356 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.07748, allocations: 162.7 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.07767, allocations: 99.91 kB / 356.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.07815, allocations: 0.6107 MB / 356.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.07838, allocations: 175.2 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.07857, allocations: 215.1 kB / 357.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.07883, allocations: 262.8 kB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.0789, allocations: 36 kB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.07897, allocations: 32 kB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.07905, allocations: 91.61 kB / 357.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.07927, allocations: 300.3 kB / 358 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.07971, allocations: 0.6071 MB / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.07972, allocations: 0 / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07973, allocations: 0 / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.07974, allocations: 0 / 358.6 MB, free: 12.92 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.0009898/0.08073, allocations: 0.7543 MB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.08077, allocations: 12.03 kB / 359.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.7e-05/0.08088, allocations: 79.62 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.08097, allocations: 60.28 kB / 359.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.08138, allocations: 403 kB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.08147, allocations: 59.25 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.08153, allocations: 32.38 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.08215, allocations: 482 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.08217, allocations: 4 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.08221, allocations: 16 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.08222, allocations: 12 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.08274, allocations: 291.8 kB / 360.8 MB, free: 10.58 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.001691/0.08444, allocations: 1.316 MB / 362.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009947/0.08544, allocations: 441.4 kB / 362.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.08569, allocations: 140.8 kB / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.08572, allocations: 15.98 kB / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.08575, allocations: 38.64 kB / 362.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/0.08576, allocations: 7.938 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.0009906/0.08675, allocations: 0.6153 MB / 363.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.08692, allocations: 448.9 kB / 363.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.08736, allocations: 450 kB / 364.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.0874, allocations: 33.7 kB / 364.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.08755, allocations: 232.3 kB / 364.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.08764, allocations: 114.4 kB / 364.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.08769, allocations: 37.7 kB / 364.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.08782, allocations: 358.8 kB / 365 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.08804, allocations: 104.6 kB / 365.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.08836, allocations: 260 kB / 365.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.08882, allocations: 285.5 kB / 365.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.08883, allocations: 4 kB / 365.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006363/0.08948, allocations: 424.3 kB / 366 MB, free: 4.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.08951, allocations: 33.73 kB / 366.1 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.08952, allocations: 3.984 kB / 366.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.08966, allocations: 57.62 kB / 366.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.08995, allocations: 67.91 kB / 366.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.0919, allocations: 2.748 MB / 368.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.09223, allocations: 47.62 kB / 369 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.09227, allocations: 16 kB / 369 MB, free: 1.668 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.0001676/0.09244, allocations: 174 kB / 369.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.09251, allocations: 47.44 kB / 369.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.0926, allocations: 48.7 kB / 369.3 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.09261, allocations: 4 kB / 369.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.09261, allocations: 0 / 369.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005981/0.09321, allocations: 0.6609 MB / 369.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1252/0.2184, allocations: 0.9093 MB / 370.8 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2185, allocations: 0.875 kB / 370.8 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.2188, allocations: 70.08 kB / 370.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2188, allocations: 2.359 kB / 370.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.2188, allocations: 11.34 kB / 370.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2189, allocations: 5.969 kB / 370.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2189, allocations: 1.656 kB / 370.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.2197, allocations: 0.5314 MB / 371.5 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.2198, allocations: 163.2 kB / 371.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.2199, allocations: 8.359 kB / 371.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2202, allocations: 22.91 kB / 371.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2203, allocations: 22.48 kB / 371.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2203, allocations: 8.141 kB / 371.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.2206, allocations: 320 kB / 372 MB, free: 23.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2206, allocations: 2.75 kB / 372 MB, free: 23.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000415/0.221, allocations: 139.2 kB / 372.1 MB, free: 23.78 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.0008553/0.2219, allocations: 1.079 MB / 373.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007064/0.2226, allocations: 0.5694 MB / 373.8 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2226, allocations: 0.7812 kB / 373.8 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.2229, allocations: 131.4 kB / 373.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.2235, allocations: 122.4 kB / 374 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.2282, allocations: 4.625 MB / 378.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2285, allocations: 0.8172 MB / 379.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.2288, allocations: 67.36 kB / 379.5 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.229, allocations: 160.9 kB / 379.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.229, allocations: 0 / 379.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.586/1.815, allocations: 11.83 MB / 391.5 MB, free: 16.05 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.815, allocations: 240.9 kB / 391.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/3.684, allocations: 4 kB / 391.8 MB, free: 15.79 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