Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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 3.2.3+maint.om/package.mo", uses=false) 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 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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001541/0.001541, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001072/0.001072, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 55.92 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.0835, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004677/0.08822, allocations: 3.666 MB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.09013, allocations: 1.017 MB / 379.3 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.09048, allocations: 12 kB / 379.3 MB, free: 380 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.09099, allocations: 103.1 kB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.09155, allocations: 202.3 kB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1639/0.2555, allocations: 132.1 kB / 379.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2566, allocations: 0.6789 MB / 380.4 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.257, allocations: 198.8 kB / 380.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.2574, allocations: 256.4 kB / 380.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.258, allocations: 294.7 kB / 381.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.2581, allocations: 58.81 kB / 381.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.2583, allocations: 58.59 kB / 381.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2585, allocations: 125.8 kB / 381.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.259, allocations: 308.5 kB / 381.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.26, allocations: 0.6976 MB / 382.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.26, allocations: 0.5 kB / 382.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.26, allocations: 2.75 kB / 382.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.007e-05/0.2601, allocations: 0 / 382.4 MB, free: 9.082 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001961/0.262, allocations: 0.9101 MB / 383.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2621, allocations: 8.875 kB / 383.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.2622, allocations: 75.53 kB / 383.4 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2624, allocations: 71.92 kB / 383.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.2631, allocations: 442.7 kB / 383.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.2632, allocations: 57.48 kB / 384 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.2633, allocations: 39.22 kB / 384 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.2641, allocations: 497 kB / 384.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2642, allocations: 0.625 kB / 384.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.2642, allocations: 16.09 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2642, allocations: 7.438 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/0.2651, allocations: 341.8 kB / 384.8 MB, free: 7.918 MB / 318.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.001873/0.2669, allocations: 1.307 MB / 386.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.2676, allocations: 374.4 kB / 386.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.268, allocations: 185.8 kB / 386.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.268, allocations: 5.797 kB / 386.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.2681, allocations: 39.7 kB / 386.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.2681, allocations: 0.9375 kB / 386.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001623/0.2697, allocations: 0.7228 MB / 387.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.2698, allocations: 445 kB / 387.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.2704, allocations: 465 kB / 388.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.2704, allocations: 37.11 kB / 388.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2706, allocations: 245.5 kB / 388.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.2707, allocations: 129.5 kB / 388.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2708, allocations: 76.64 kB / 388.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.2709, allocations: 360 kB / 389.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.2713, allocations: 138.4 kB / 389.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.2718, allocations: 284.8 kB / 389.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.2725, allocations: 336.3 kB / 389.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2725, allocations: 1.125 kB / 389.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009596/0.2735, allocations: 487.3 kB / 390.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.2736, allocations: 32.55 kB / 390.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2736, allocations: 2.156 kB / 390.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.2737, allocations: 53.81 kB / 390.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.2741, allocations: 88.08 kB / 390.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.276, allocations: 2.96 MB / 393.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.2766, allocations: 58.14 kB / 393.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.2766, allocations: 13.12 kB / 393.6 MB, free: 1.293 MB / 318.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 (37): * Single equations (assignments): 34 * 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.0001976/0.2768, allocations: 161.6 kB / 393.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.2769, allocations: 65.89 kB / 393.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.195e-05/0.277, allocations: 52.55 kB / 393.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.277, allocations: 4.938 kB / 393.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.277, allocations: 4.453 kB / 393.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008444/0.2779, allocations: 0.7245 MB / 394.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.2795, allocations: 1.01 MB / 395.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2795, allocations: 1.156 kB / 395.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.2799, allocations: 92.78 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.2799, allocations: 5.406 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.28, allocations: 8.203 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.28, allocations: 2.719 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.28, allocations: 0 / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2813, allocations: 0.6479 MB / 396.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.2815, allocations: 175.3 kB / 396.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.2816, allocations: 12.77 kB / 396.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.282, allocations: 29.67 kB / 396.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.2821, allocations: 35.75 kB / 396.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.2821, allocations: 10.67 kB / 396.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004492/0.2826, allocations: 326 kB / 397 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2826, allocations: 0 / 397 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.2831, allocations: 140.8 kB / 397.1 MB, free: 15.13 MB / 334.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 (35): * Single equations (assignments): 35 * 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.001922/0.2851, allocations: 1.201 MB / 398.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.2868, allocations: 0.6335 MB / 398.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.2869, allocations: 1.469 kB / 398.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.2874, allocations: 178.8 kB / 399.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009928/0.2884, allocations: 150.4 kB / 399.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/0.296, allocations: 4.529 MB / 403.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.2964, allocations: 0.8269 MB / 404.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003561/0.2968, allocations: 64.39 kB / 404.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.2971, allocations: 176.7 kB / 404.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2971, allocations: 0 / 404.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.3362, allocations: 13.68 MB / 418.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.21, allocations: 11.94 kB / 418.5 MB, free: 1.812 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches