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.001541/0.00154, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001807/0.001807, allocations: 187 kB / 18.67 MB, free: 4.414 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.298/1.298, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001328/0.001328, allocations: 52.25 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09622, allocations: 46.63 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005046/0.1013, allocations: 3.647 MB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1034, allocations: 1.029 MB / 379.3 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.1038, allocations: 4 kB / 379.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.1044, allocations: 115 kB / 379.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005989/0.105, allocations: 190.4 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1876/0.2926, allocations: 128.1 kB / 379.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.2938, allocations: 0.6741 MB / 380.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.2941, allocations: 204.3 kB / 380.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.2944, allocations: 259.7 kB / 380.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.2947, allocations: 290.4 kB / 381.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.32e-05/0.2948, allocations: 59.12 kB / 381.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2949, allocations: 58.22 kB / 381.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2951, allocations: 126.5 kB / 381.4 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.2954, allocations: 311.3 kB / 381.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008588/0.2963, allocations: 0.6966 MB / 382.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2963, allocations: 1.625 kB / 382.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2963, allocations: 0 / 382.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.2963, allocations: 0.5312 kB / 382.4 MB, free: 9.059 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.001473/0.2978, allocations: 0.8899 MB / 383.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2979, allocations: 9.531 kB / 383.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.298, allocations: 78.02 kB / 383.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2981, allocations: 67.55 kB / 383.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.2988, allocations: 434.5 kB / 383.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.2989, allocations: 60.3 kB / 383.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.299, allocations: 32.88 kB / 384 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.2998, allocations: 499.1 kB / 384.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.2998, allocations: 1.125 kB / 384.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.2998, allocations: 15.88 kB / 384.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.2999, allocations: 9.688 kB / 384.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/0.3007, allocations: 337.4 kB / 384.8 MB, free: 7.922 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.001842/0.3026, allocations: 1.308 MB / 386.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.3032, allocations: 384.5 kB / 386.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.3036, allocations: 175.5 kB / 386.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.3037, allocations: 12.83 kB / 386.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3037, allocations: 40.92 kB / 386.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.754e-06/0.3037, allocations: 3.938 kB / 386.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001543/0.3053, allocations: 0.724 MB / 387.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.3054, allocations: 447.8 kB / 387.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.3059, allocations: 457.1 kB / 388.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.3059, allocations: 34.52 kB / 388.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.306, allocations: 241.4 kB / 388.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.3061, allocations: 122.5 kB / 388.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.3063, allocations: 75.78 kB / 388.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.3063, allocations: 360.7 kB / 389.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.3067, allocations: 138.2 kB / 389.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.3072, allocations: 286.3 kB / 389.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.3079, allocations: 342.2 kB / 389.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3079, allocations: 0 / 389.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001006/0.3089, allocations: 483.6 kB / 390.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.309, allocations: 31.59 kB / 390.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.309, allocations: 2.844 kB / 390.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.3092, allocations: 53.75 kB / 390.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.3096, allocations: 81.47 kB / 390.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.3115, allocations: 2.967 MB / 393.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.312, allocations: 51.22 kB / 393.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.312, allocations: 9.953 kB / 393.5 MB, free: 1.328 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.0001933/0.3122, allocations: 173.2 kB / 393.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.3123, allocations: 53.66 kB / 393.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3124, allocations: 55.66 kB / 393.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3124, allocations: 4.562 kB / 393.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3124, allocations: 3.938 kB / 393.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008104/0.3132, allocations: 0.7328 MB / 394.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.3149, allocations: 1.013 MB / 395.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3149, allocations: 0 / 395.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.3153, allocations: 94.2 kB / 395.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3153, allocations: 11.88 kB / 395.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.3154, allocations: 6.641 kB / 395.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3154, allocations: 2.141 kB / 395.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3154, allocations: 0 / 395.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3167, allocations: 0.6482 MB / 396.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.3169, allocations: 172 kB / 396.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.317, allocations: 11.09 kB / 396.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.3173, allocations: 26.7 kB / 396.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.3174, allocations: 30.06 kB / 396.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3174, allocations: 11.94 kB / 396.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.3178, allocations: 325.2 kB / 396.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3178, allocations: 0 / 396.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004514/0.3183, allocations: 140.8 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.001573/0.3199, allocations: 1.197 MB / 398.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3211, allocations: 0.6348 MB / 398.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3211, allocations: 1.25 kB / 398.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.3215, allocations: 181.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.0006979/0.3222, allocations: 143.8 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.006929/0.3292, allocations: 4.508 MB / 403.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.3297, allocations: 0.8265 MB / 404.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.33, allocations: 63.98 kB / 404.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.3303, allocations: 176.1 kB / 404.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3303, allocations: 0 / 404.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.3763, allocations: 13.68 MB / 418.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.67, allocations: 7.938 kB / 418.4 MB, free: 1.93 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/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