Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 61.03 kB / 307 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006826/0.1624, allocations: 3.667 MB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.1654, allocations: 1.009 MB / 362.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005313/0.166, allocations: 11.94 kB / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.1667, allocations: 111.1 kB / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008498/0.1676, allocations: 194.3 kB / 362.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.168, allocations: 135.8 kB / 362.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1694, allocations: 0.6731 MB / 363.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004745/0.1699, allocations: 194.5 kB / 363.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.1703, allocations: 259.1 kB / 363.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.1709, allocations: 298.7 kB / 364.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.1712, allocations: 56 kB / 364.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1713, allocations: 60 kB / 364.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1714, allocations: 123.6 kB / 364.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.1719, allocations: 306.5 kB / 364.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000934/0.1729, allocations: 0.6851 MB / 365.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.1729, allocations: 0 / 365.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.173, allocations: 0 / 365.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.918e-05/0.173, allocations: 0 / 365.3 MB, free: 6.195 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.00276/0.1758, allocations: 0.8972 MB / 366.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1758, allocations: 8.031 kB / 366.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.176, allocations: 79.28 kB / 366.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.1763, allocations: 64.28 kB / 366.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1774, allocations: 438.4 kB / 366.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.1778, allocations: 86.77 kB / 366.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.178, allocations: 36.38 kB / 366.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.1793, allocations: 0.493 MB / 367.4 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1793, allocations: 0 / 367.4 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.1794, allocations: 16 kB / 367.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1794, allocations: 12 kB / 367.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1806, allocations: 370.3 kB / 367.8 MB, free: 3.559 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.00345/0.1841, allocations: 1.31 MB / 369.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1851, allocations: 399.4 kB / 369.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.1857, allocations: 192.8 kB / 369.7 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.1858, allocations: 4 kB / 369.7 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1858, allocations: 46.5 kB / 369.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.1858, allocations: 0 / 369.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002276/0.1881, allocations: 0.7665 MB / 370.5 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004781/0.1886, allocations: 444.9 kB / 370.9 MB, free: 140 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.203/0.3916, allocations: 456.5 kB / 371.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.3918, allocations: 34.02 kB / 371.4 MB, free: 21.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.3921, allocations: 247.9 kB / 371.7 MB, free: 20.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.3922, allocations: 114.6 kB / 371.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3924, allocations: 81.33 kB / 371.8 MB, free: 20.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002753/0.3927, allocations: 357.5 kB / 372.2 MB, free: 20.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.3934, allocations: 159.9 kB / 372.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.3941, allocations: 297.7 kB / 372.6 MB, free: 20.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.3953, allocations: 356 kB / 373 MB, free: 20.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.3954, allocations: 3.281 kB / 373 MB, free: 20.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001733/0.3971, allocations: 0.5059 MB / 373.5 MB, free: 19.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.3973, allocations: 32.64 kB / 373.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3973, allocations: 2.625 kB / 373.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.3975, allocations: 54.72 kB / 373.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.3981, allocations: 86.2 kB / 373.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.4014, allocations: 2.958 MB / 376.6 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.4021, allocations: 63.17 kB / 376.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.4022, allocations: 9.594 kB / 376.7 MB, free: 16.96 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 (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.0005123/0.4027, allocations: 168.6 kB / 376.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4028, allocations: 57.94 kB / 376.9 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.403, allocations: 54.94 kB / 377 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.403, allocations: 8.328 kB / 377 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.403, allocations: 1.625 kB / 377 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/0.4045, allocations: 0.751 MB / 377.7 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.407, allocations: 1.046 MB / 378.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.407, allocations: 0 / 378.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.4076, allocations: 95.02 kB / 378.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4076, allocations: 1.375 kB / 378.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.4077, allocations: 8.938 kB / 378.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4077, allocations: 1.375 kB / 378.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4077, allocations: 0 / 378.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.4097, allocations: 0.6952 MB / 379.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.41, allocations: 166.8 kB / 379.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.4101, allocations: 8.266 kB / 379.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.4105, allocations: 42.98 kB / 379.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.4108, allocations: 29.39 kB / 379.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.4108, allocations: 6.469 kB / 379.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000531/0.4113, allocations: 329.4 kB / 380.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4113, allocations: 0 / 380.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.4122, allocations: 140.7 kB / 380.3 MB, free: 14.83 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.002024/0.4143, allocations: 1.236 MB / 381.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.4161, allocations: 0.6751 MB / 382.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.4162, allocations: 1.406 kB / 382.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007198/0.4169, allocations: 193.8 kB / 382.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.418, allocations: 143.5 kB / 382.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009113/0.4271, allocations: 4.741 MB / 387.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4275, allocations: 0.8319 MB / 388.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006487/0.4282, allocations: 60.03 kB / 388.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.4284, allocations: 175.7 kB / 388.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4284, allocations: 0 / 388.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.4797, allocations: 13.54 MB / 401.9 MB, free: 2.449 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.6, allocations: 4.75 kB / 401.9 MB, free: 2.445 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches