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.001395/0.001395, allocations: 108.9 kB / 16.92 MB, free: 5.793 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.001368/0.001367, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.372/1.372, allocations: 222.9 MB / 241.5 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009584/0.0009586, allocations: 42.61 kB / 300.7 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.0848, allocations: 49.45 MB / 350.2 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004336/0.08917, allocations: 3.65 MB / 353.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.09069, allocations: 0.9774 MB / 354.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.09089, allocations: 11.94 kB / 354.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.09123, allocations: 103.1 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.0916, allocations: 198.3 kB / 355.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.09187, allocations: 131.8 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.09251, allocations: 0.6827 MB / 355.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.0928, allocations: 202.4 kB / 356.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.09305, allocations: 259.1 kB / 356.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.09337, allocations: 286.8 kB / 356.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-05/0.09346, allocations: 56 kB / 356.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-05/0.09357, allocations: 60 kB / 356.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.09367, allocations: 127.5 kB / 356.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.09395, allocations: 310.6 kB / 357.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.09455, allocations: 0.6812 MB / 357.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09456, allocations: 4 kB / 357.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09457, allocations: 0 / 357.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.09458, allocations: 0 / 357.9 MB, free: 12.61 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001379/0.09597, allocations: 0.8972 MB / 358.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.09601, allocations: 11.97 kB / 358.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.09612, allocations: 79.27 kB / 358.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.09625, allocations: 64.28 kB / 358.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.09685, allocations: 430.4 kB / 359.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.09706, allocations: 82.88 kB / 359.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.09712, allocations: 36.38 kB / 359.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/0.09798, allocations: 0.5047 MB / 360 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.098, allocations: 0 / 360 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.09805, allocations: 16 kB / 360 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.09806, allocations: 8 kB / 360 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008915/0.09896, allocations: 362.4 kB / 360.3 MB, free: 9.98 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.001872/0.1008, allocations: 1.321 MB / 361.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.1016, allocations: 391.5 kB / 362 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.102, allocations: 188.8 kB / 362.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1021, allocations: 4 kB / 362.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1021, allocations: 42.56 kB / 362.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.413e-06/0.1021, allocations: 0 / 362.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001703/0.1038, allocations: 0.7627 MB / 363 MB, free: 7.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.104, allocations: 449 kB / 363.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.1045, allocations: 457.9 kB / 363.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.1046, allocations: 37.7 kB / 364 MB, free: 6.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1048, allocations: 248.3 kB / 364.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.1049, allocations: 122.2 kB / 364.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.105, allocations: 69.7 kB / 364.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1051, allocations: 362.8 kB / 364.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.1055, allocations: 151.9 kB / 364.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.1061, allocations: 297.6 kB / 365.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/0.1069, allocations: 373.1 kB / 365.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1069, allocations: 0 / 365.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001053/0.1079, allocations: 0.5014 MB / 366 MB, free: 3.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.108, allocations: 29.7 kB / 366.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.108, allocations: 0 / 366.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.1082, allocations: 57.69 kB / 366.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.1086, allocations: 87.88 kB / 366.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.1111, allocations: 2.958 MB / 369.2 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.1115, allocations: 63.69 kB / 369.2 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.1115, allocations: 12 kB / 369.2 MB, free: 380 kB / 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 (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.000205/0.1118, allocations: 173.8 kB / 369.4 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.1118, allocations: 51.38 kB / 369.5 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1119, allocations: 48.77 kB / 369.5 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.112, allocations: 8 kB / 369.5 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.112, allocations: 7.938 kB / 369.5 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1485/0.2605, allocations: 0.7533 MB / 370.3 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.2623, allocations: 1.038 MB / 371.3 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2623, allocations: 5.859 kB / 371.3 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.2628, allocations: 94.31 kB / 371.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2628, allocations: 1.781 kB / 371.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.2628, allocations: 7.781 kB / 371.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2628, allocations: 1.188 kB / 371.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2628, allocations: 3.344 kB / 371.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.2642, allocations: 0.6938 MB / 372.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.2644, allocations: 166.7 kB / 372.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.2645, allocations: 13.22 kB / 372.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.2649, allocations: 31.97 kB / 372.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.265, allocations: 26.67 kB / 372.4 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.265, allocations: 6.328 kB / 372.4 MB, free: 24.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003404/0.2653, allocations: 327 kB / 372.7 MB, free: 24.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2653, allocations: 0 / 372.7 MB, free: 24.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.2658, allocations: 140.8 kB / 372.8 MB, free: 24.52 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 (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.001555/0.2674, allocations: 1.235 MB / 374.1 MB, free: 23.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.2687, allocations: 0.6837 MB / 374.7 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2687, allocations: 3.719 kB / 374.7 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.2691, allocations: 188.5 kB / 374.9 MB, free: 23.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.2699, allocations: 140.7 kB / 375.1 MB, free: 23.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.2764, allocations: 4.75 MB / 379.8 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.2767, allocations: 0.8305 MB / 380.6 MB, free: 19.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.2771, allocations: 63.91 kB / 380.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.2773, allocations: 175.6 kB / 380.9 MB, free: 19.69 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2773, allocations: 4 kB / 380.9 MB, free: 19.69 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.3132, allocations: 13.52 MB / 394.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.32, allocations: 7.688 kB / 394.4 MB, free: 13.21 MB / 302.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