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.001079/0.001079, allocations: 108.8 kB / 17.06 MB, free: 6.016 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.001045/0.001045, allocations: 187.1 kB / 18 MB, free: 5.102 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.302/1.302, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009502/0.0009502, allocations: 55.91 kB / 350.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2389, allocations: 49.44 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004951/0.2439, allocations: 3.675 MB / 403.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.2459, allocations: 0.9773 MB / 404.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.2461, allocations: 4 kB / 404.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.2465, allocations: 111 kB / 405 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.2469, allocations: 202.3 kB / 405.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2471, allocations: 127.8 kB / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.248, allocations: 0.6905 MB / 406 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.2483, allocations: 186.2 kB / 406.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.2486, allocations: 263 kB / 406.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.2489, allocations: 294.8 kB / 406.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.249, allocations: 59.94 kB / 406.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.2491, allocations: 56 kB / 406.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.2492, allocations: 123.5 kB / 407 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.2494, allocations: 310.5 kB / 407.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007131/0.2502, allocations: 0.6916 MB / 408 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2502, allocations: 0 / 408 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2502, allocations: 4 kB / 408 MB, free: 1.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.2502, allocations: 0 / 408 MB, free: 1.074 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.001628/0.2518, allocations: 0.9202 MB / 408.9 MB, free: 100 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2519, allocations: 8.031 kB / 408.9 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.252, allocations: 75.33 kB / 409 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.2522, allocations: 67.98 kB / 409 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.2531, allocations: 442.8 kB / 409.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.2532, allocations: 66.84 kB / 409.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.2533, allocations: 32.94 kB / 409.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.2543, allocations: 485 kB / 410 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2543, allocations: 3.938 kB / 410 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.2543, allocations: 23.94 kB / 410.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2544, allocations: 8 kB / 410.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008822/0.2552, allocations: 346.3 kB / 410.4 MB, free: 14.46 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.00195/0.2572, allocations: 1.302 MB / 411.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.2579, allocations: 367.5 kB / 412.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.2583, allocations: 180.8 kB / 412.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.2584, allocations: 8.594 kB / 412.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.2584, allocations: 46.44 kB / 412.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.2584, allocations: 0 / 412.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001604/0.26, allocations: 0.7195 MB / 413 MB, free: 11.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001913/0.2602, allocations: 448.9 kB / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.2608, allocations: 458 kB / 413.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2608, allocations: 29.7 kB / 413.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.2611, allocations: 248.6 kB / 414.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.2612, allocations: 126.9 kB / 414.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2614, allocations: 81.69 kB / 414.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2615, allocations: 358.7 kB / 414.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2619, allocations: 139.9 kB / 414.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.2625, allocations: 282.6 kB / 415.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.2633, allocations: 345 kB / 415.5 MB, free: 9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2633, allocations: 0 / 415.5 MB, free: 9 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001072/0.2643, allocations: 490 kB / 416 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.2644, allocations: 33.7 kB / 416 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2644, allocations: 0 / 416 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.2646, allocations: 57.62 kB / 416 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.265, allocations: 83.88 kB / 416.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.2674, allocations: 2.958 MB / 419.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.2679, allocations: 67.62 kB / 419.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.2679, allocations: 16.06 kB / 419.2 MB, free: 5 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.0002163/0.2681, allocations: 169.8 kB / 419.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.2682, allocations: 51.67 kB / 419.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.4e-05/0.2683, allocations: 52.75 kB / 419.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2683, allocations: 4 kB / 419.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2683, allocations: 0 / 419.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009271/0.2693, allocations: 0.7347 MB / 420.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.2709, allocations: 1.013 MB / 421.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2709, allocations: 0 / 421.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.2713, allocations: 87.88 kB / 421.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2713, allocations: 7.922 kB / 421.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2714, allocations: 8 kB / 421.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2714, allocations: 3.984 kB / 421.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2714, allocations: 0 / 421.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.2726, allocations: 0.6532 MB / 421.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.2728, allocations: 172.8 kB / 422.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.2729, allocations: 15.94 kB / 422.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.2733, allocations: 23.97 kB / 422.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.2734, allocations: 24.2 kB / 422.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.2734, allocations: 12 kB / 422.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000338/0.2737, allocations: 323.1 kB / 422.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2737, allocations: 0 / 422.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004467/0.2742, allocations: 139.9 kB / 422.6 MB, free: 1.312 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.001579/0.2758, allocations: 1.224 MB / 423.9 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.277, allocations: 0.6293 MB / 424.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2771, allocations: 4.125 kB / 424.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.2775, allocations: 180.2 kB / 424.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/0.2782, allocations: 136.2 kB / 424.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.2847, allocations: 4.535 MB / 429.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.2852, allocations: 0.8314 MB / 430.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.2855, allocations: 60.36 kB / 430.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2857, allocations: 179.4 kB / 430.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2857, allocations: 0 / 430.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.3258, allocations: 13.66 MB / 444.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.12, allocations: 8.312 kB / 444.1 MB, free: 11.97 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