Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_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.001114/0.001114, allocations: 106.6 kB / 17.73 MB, free: 5.367 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.00125/0.00125, allocations: 187.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 48.34 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09526, allocations: 46.63 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005027/0.1003, allocations: 3.654 MB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1023, allocations: 1.025 MB / 379.3 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.1027, allocations: 4 kB / 379.3 MB, free: 392 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.1031, allocations: 119 kB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.1037, allocations: 186.4 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1875/0.2912, allocations: 129.7 kB / 379.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.2923, allocations: 0.6789 MB / 380.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.2926, allocations: 198.5 kB / 380.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003591/0.293, allocations: 259.1 kB / 380.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.2934, allocations: 298 kB / 381.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.2935, allocations: 58.03 kB / 381.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.2936, allocations: 59 kB / 381.3 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2938, allocations: 123.4 kB / 381.4 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.2942, allocations: 310.8 kB / 381.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.2951, allocations: 0.698 MB / 382.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2951, allocations: 0.5 kB / 382.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2951, allocations: 3.062 kB / 382.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2951, allocations: 0 / 382.4 MB, free: 9.07 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.001412/0.2965, allocations: 0.888 MB / 383.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2966, allocations: 9.969 kB / 383.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.2967, allocations: 79.09 kB / 383.4 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2968, allocations: 66.72 kB / 383.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006941/0.2975, allocations: 437.4 kB / 383.9 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.57e-05/0.2976, allocations: 58.72 kB / 383.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.2977, allocations: 32.44 kB / 384 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.2985, allocations: 494.7 kB / 384.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2985, allocations: 1.969 kB / 384.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.2986, allocations: 16.28 kB / 384.5 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.2986, allocations: 12.34 kB / 384.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.2994, allocations: 339.7 kB / 384.8 MB, free: 7.938 MB / 318.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.001894/0.3013, allocations: 1.309 MB / 386.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.302, allocations: 372.8 kB / 386.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.3024, allocations: 183.7 kB / 386.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.3025, allocations: 9.688 kB / 386.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3025, allocations: 43.16 kB / 386.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.3025, allocations: 3.938 kB / 386.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001443/0.304, allocations: 0.7215 MB / 387.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.3041, allocations: 444.8 kB / 387.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.3046, allocations: 457.5 kB / 388.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3046, allocations: 37.17 kB / 388.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3048, allocations: 242.3 kB / 388.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.3049, allocations: 122.9 kB / 388.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.305, allocations: 77 kB / 388.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.3051, allocations: 360.5 kB / 389.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3054, allocations: 137.4 kB / 389.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.3059, allocations: 286.6 kB / 389.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.3066, allocations: 335.5 kB / 389.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3066, allocations: 0 / 389.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008965/0.3075, allocations: 487.1 kB / 390.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.3075, allocations: 35.89 kB / 390.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3076, allocations: 2.016 kB / 390.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.3077, allocations: 50.44 kB / 390.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.3081, allocations: 88.08 kB / 390.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.31, allocations: 2.962 MB / 393.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.3104, allocations: 50.38 kB / 393.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.3105, allocations: 12.38 kB / 393.5 MB, free: 1.34 MB / 318.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.0001944/0.3107, allocations: 170.5 kB / 393.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.3108, allocations: 54.47 kB / 393.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.3109, allocations: 55.66 kB / 393.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3109, allocations: 4.312 kB / 393.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3109, allocations: 3.938 kB / 393.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007919/0.3117, allocations: 0.729 MB / 394.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.3132, allocations: 1.015 MB / 395.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3132, allocations: 2.328 kB / 395.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.3137, allocations: 87.89 kB / 395.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3137, allocations: 5.234 kB / 395.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3137, allocations: 16.52 kB / 395.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3137, allocations: 6.266 kB / 395.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.3137, allocations: 1.156 kB / 395.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.3151, allocations: 0.6461 MB / 396.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.3153, allocations: 171 kB / 396.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.3154, allocations: 12.8 kB / 396.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.3157, allocations: 26.09 kB / 396.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.3158, allocations: 26.33 kB / 396.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.3159, allocations: 15.89 kB / 396.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000394/0.3163, allocations: 329.7 kB / 396.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3163, allocations: 0 / 396.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005011/0.3168, allocations: 140.3 kB / 397 MB, free: 15.21 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.001584/0.3184, allocations: 1.196 MB / 398.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.3196, allocations: 0.6358 MB / 398.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3196, allocations: 1.094 kB / 398.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.32, allocations: 182.9 kB / 399 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.3207, allocations: 140.9 kB / 399.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.3279, allocations: 4.502 MB / 403.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3283, allocations: 0.8309 MB / 404.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.3287, allocations: 63.03 kB / 404.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.3289, allocations: 175.9 kB / 404.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3289, allocations: 0 / 404.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.3703, allocations: 13.97 MB / 418.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 19.92 kB / 418.7 MB, free: 1.629 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches