Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_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.001619/0.001619, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001808/0.001808, allocations: 189.4 kB / 18 MB, free: 5.09 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2266, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004966/0.2316, allocations: 3.675 MB / 403.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2334, allocations: 0.9734 MB / 404.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.2337, allocations: 7.938 kB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.234, allocations: 107.1 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.2345, allocations: 198.3 kB / 405.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.2348, allocations: 127.8 kB / 405.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007909/0.2356, allocations: 0.68 MB / 406 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.2359, allocations: 198.2 kB / 406.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.2362, allocations: 251.1 kB / 406.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.2366, allocations: 302.7 kB / 406.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.041e-05/0.2367, allocations: 56 kB / 406.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2368, allocations: 60 kB / 406.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.237, allocations: 115.6 kB / 406.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.2373, allocations: 310.5 kB / 407.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008131/0.2381, allocations: 0.7032 MB / 407.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2381, allocations: 0 / 407.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2381, allocations: 4 kB / 408 MB, free: 1.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2381, allocations: 0 / 408 MB, free: 1.055 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.001631/0.2398, allocations: 0.9163 MB / 408.9 MB, free: 84 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2398, allocations: 8.031 kB / 408.9 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.24, allocations: 79.38 kB / 409 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2401, allocations: 68.56 kB / 409 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/0.2409, allocations: 438.8 kB / 409.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.241, allocations: 62.91 kB / 409.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.241, allocations: 32.38 kB / 409.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.2419, allocations: 492.8 kB / 410 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.242, allocations: 0 / 410 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.242, allocations: 20 kB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.242, allocations: 8 kB / 410.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.2429, allocations: 342.4 kB / 410.4 MB, free: 14.45 MB / 334.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.00212/0.245, allocations: 1.298 MB / 411.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007629/0.2458, allocations: 379.5 kB / 412.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.2463, allocations: 180.7 kB / 412.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.2463, allocations: 12.58 kB / 412.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.2464, allocations: 42.5 kB / 412.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.2464, allocations: 0 / 412.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001677/0.2481, allocations: 0.7272 MB / 413 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002475/0.2483, allocations: 452.9 kB / 413.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.2489, allocations: 457.9 kB / 413.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.2489, allocations: 37.64 kB / 413.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.2492, allocations: 236.7 kB / 414.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.2493, allocations: 134.8 kB / 414.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.2494, allocations: 77.69 kB / 414.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2496, allocations: 354.8 kB / 414.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.25, allocations: 135.9 kB / 414.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.2506, allocations: 290.5 kB / 415.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.2514, allocations: 337.1 kB / 415.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2514, allocations: 0 / 415.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001073/0.2525, allocations: 490 kB / 415.9 MB, free: 8.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.2525, allocations: 37.7 kB / 416 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2525, allocations: 0 / 416 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.2527, allocations: 49.69 kB / 416 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.2531, allocations: 83.88 kB / 416.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.256, allocations: 2.97 MB / 419.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.2564, allocations: 51.8 kB / 419.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.2564, allocations: 15.98 kB / 419.2 MB, free: 4.988 MB / 334.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.0002317/0.2567, allocations: 171.5 kB / 419.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.2568, allocations: 51.67 kB / 419.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2569, allocations: 48.77 kB / 419.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2569, allocations: 4 kB / 419.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2569, allocations: 11.92 kB / 419.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.258, allocations: 0.7231 MB / 420.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.2597, allocations: 1.021 MB / 421.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2597, allocations: 3.938 kB / 421.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.2601, allocations: 83.88 kB / 421.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2602, allocations: 0 / 421.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.2602, allocations: 11.98 kB / 421.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2602, allocations: 0 / 421.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2602, allocations: 0 / 421.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2616, allocations: 0.6571 MB / 421.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.2618, allocations: 176.7 kB / 422.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.2618, allocations: 8 kB / 422.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.2622, allocations: 23.97 kB / 422.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.2623, allocations: 27.91 kB / 422.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.2623, allocations: 8 kB / 422.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.2627, allocations: 327.1 kB / 422.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2627, allocations: 0 / 422.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.2632, allocations: 143.8 kB / 422.6 MB, free: 1.297 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.001736/0.2649, allocations: 1.212 MB / 423.8 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.2662, allocations: 0.6371 MB / 424.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.2662, allocations: 4.125 kB / 424.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.2667, allocations: 176.3 kB / 424.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.2673, allocations: 136.4 kB / 424.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.2743, allocations: 4.539 MB / 429.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.2748, allocations: 0.8314 MB / 430.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.2751, allocations: 60.36 kB / 430.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.2754, allocations: 179.4 kB / 430.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of SimCode: time 5.72e-07/0.2754, allocations: 0 / 430.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/0.3206, allocations: 13.66 MB / 444.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.59, allocations: 0.7656 kB / 444.1 MB, free: 11.96 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches