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.001142/0.001142, allocations: 107.2 kB / 16.62 MB, free: 6.812 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: 193.8 kB / 17.55 MB, free: 5.953 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.392/1.392, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 43.39 kB / 300.2 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0865/0.08756, allocations: 49.46 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005091/0.09269, allocations: 3.677 MB / 353.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.09458, allocations: 0.9774 MB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.09497, allocations: 4 kB / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.09538, allocations: 87.38 kB / 354.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.0959, allocations: 170.7 kB / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.0962, allocations: 111.9 kB / 354.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006596/0.09687, allocations: 0.6769 MB / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.09716, allocations: 202.4 kB / 355.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.0974, allocations: 259 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.09768, allocations: 290.8 kB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.09777, allocations: 56 kB / 356.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.09786, allocations: 60 kB / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.09799, allocations: 123.5 kB / 356.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.09828, allocations: 306.6 kB / 356.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.09894, allocations: 0.6891 MB / 357.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.09895, allocations: 0 / 357.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09896, allocations: 0 / 357.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.09897, allocations: 0 / 357.3 MB, free: 12.97 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.001429/0.1004, allocations: 0.8932 MB / 358.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1005, allocations: 16.02 kB / 358.3 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.1006, allocations: 87.22 kB / 358.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1007, allocations: 60.28 kB / 358.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.1013, allocations: 434.4 kB / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.1015, allocations: 90.86 kB / 358.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.1016, allocations: 36.38 kB / 358.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.1024, allocations: 0.4969 MB / 359.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1024, allocations: 0 / 359.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.1025, allocations: 16 kB / 359.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1025, allocations: 8 kB / 359.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.1034, allocations: 366.4 kB / 359.8 MB, free: 10.32 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.001825/0.1052, allocations: 1.314 MB / 361.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.1059, allocations: 399.4 kB / 361.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.1063, allocations: 192.8 kB / 361.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.1063, allocations: 4 kB / 361.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1064, allocations: 46.55 kB / 361.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.1064, allocations: 0 / 361.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001636/0.108, allocations: 0.7471 MB / 362.5 MB, free: 7.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.1082, allocations: 452.9 kB / 363 MB, free: 6.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.1087, allocations: 465.9 kB / 363.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.1087, allocations: 33.7 kB / 363.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1089, allocations: 244.3 kB / 363.7 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.109, allocations: 122.2 kB / 363.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1091, allocations: 73.7 kB / 363.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1093, allocations: 354.8 kB / 364.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.1097, allocations: 155.9 kB / 364.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.1102, allocations: 290.8 kB / 364.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/0.111, allocations: 373.1 kB / 365 MB, free: 4.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.111, allocations: 0 / 365 MB, free: 4.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001027/0.112, allocations: 0.5014 MB / 365.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/0.1121, allocations: 33.7 kB / 365.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1121, allocations: 0 / 365.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.1123, allocations: 57.69 kB / 365.6 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1127, allocations: 83.88 kB / 365.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.1151, allocations: 2.966 MB / 368.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.1155, allocations: 63.66 kB / 368.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.1156, allocations: 11.98 kB / 368.7 MB, free: 0.7188 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.0002024/0.1158, allocations: 165.8 kB / 368.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.1159, allocations: 55.38 kB / 368.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.116, allocations: 56.77 kB / 369 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.116, allocations: 7.984 kB / 369 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.116, allocations: 4.172 kB / 369 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1658/0.2818, allocations: 0.744 MB / 369.8 MB, free: 25.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.2837, allocations: 1.036 MB / 370.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2837, allocations: 3.75 kB / 370.8 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.2842, allocations: 103.3 kB / 370.9 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2842, allocations: 2.625 kB / 370.9 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2842, allocations: 6.734 kB / 370.9 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.2842, allocations: 1.438 kB / 370.9 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2843, allocations: 1.156 kB / 370.9 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.2856, allocations: 0.6923 MB / 371.6 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.2858, allocations: 168.1 kB / 371.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.2859, allocations: 9.281 kB / 371.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.2863, allocations: 39.86 kB / 371.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.2864, allocations: 29.75 kB / 371.8 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2864, allocations: 6.906 kB / 371.9 MB, free: 25.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.2868, allocations: 323.8 kB / 372.2 MB, free: 24.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2868, allocations: 0 / 372.2 MB, free: 24.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.2873, allocations: 138.1 kB / 372.3 MB, free: 24.93 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.001495/0.2888, allocations: 1.237 MB / 373.5 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.29, allocations: 0.6846 MB / 374.2 MB, free: 23.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2901, allocations: 0 / 374.2 MB, free: 23.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.2905, allocations: 189.1 kB / 374.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.2912, allocations: 136.9 kB / 374.5 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006386/0.2976, allocations: 4.91 MB / 379.5 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.2979, allocations: 0.8338 MB / 380.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.2983, allocations: 66.22 kB / 380.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.2985, allocations: 171.2 kB / 380.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2985, allocations: 0 / 380.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3282, allocations: 13.22 MB / 393.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/0.3283, allocations: 233.8 kB / 394 MB, free: 13.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.435, allocations: 0 / 394 MB, free: 13.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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