Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",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.001603/0.001603, allocations: 109.4 kB / 17.73 MB, free: 5.328 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.001848/0.001849, allocations: 192.2 kB / 18.67 MB, free: 4.395 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.463/1.463, allocations: 205.1 MB / 224.5 MB, free: 12.19 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.001293/0.001293, allocations: 51.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.09704, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004637/0.1017, allocations: 2.847 MB / 377.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.104, allocations: 1.177 MB / 378.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.1044, allocations: 7.938 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.105, allocations: 183.2 kB / 378.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.1057, allocations: 206.8 kB / 379 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.1062, allocations: 151.6 kB / 379.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.107, allocations: 453.9 kB / 379.6 MB, free: 40 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2572/0.3642, allocations: 95.3 kB / 379.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007876/0.3651, allocations: 180 kB / 379.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.3658, allocations: 208.3 kB / 380.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.366, allocations: 33.34 kB / 380.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.3663, allocations: 71.38 kB / 380.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.3665, allocations: 80.86 kB / 380.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.3668, allocations: 199.4 kB / 380.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.3678, allocations: 489.2 kB / 381 MB, free: 9.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3678, allocations: 0 / 381 MB, free: 9.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3678, allocations: 1.375 kB / 381 MB, free: 9.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3678, allocations: 0 / 381 MB, free: 9.195 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001232/0.3691, allocations: 0.6927 MB / 381.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3691, allocations: 10.62 kB / 381.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.3693, allocations: 63.33 kB / 381.7 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3694, allocations: 43.84 kB / 381.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.37, allocations: 347.3 kB / 382.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.37, allocations: 18.69 kB / 382.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.3701, allocations: 22.33 kB / 382.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.3707, allocations: 302.2 kB / 382.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3707, allocations: 0 / 382.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.3708, allocations: 16.23 kB / 382.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3708, allocations: 5.219 kB / 382.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.3712, allocations: 155 kB / 382.6 MB, free: 8.234 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.001605/0.3728, allocations: 0.8375 MB / 383.4 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.3733, allocations: 189.4 kB / 383.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3734, allocations: 78.66 kB / 383.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.3735, allocations: 6.703 kB / 383.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.3738, allocations: 138.5 kB / 383.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.214e-06/0.3738, allocations: 0 / 383.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008911/0.3747, allocations: 409.9 kB / 384.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/0.3748, allocations: 313.7 kB / 384.6 MB, free: 7.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.3753, allocations: 434.2 kB / 385 MB, free: 7.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3753, allocations: 34.58 kB / 385 MB, free: 7.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3755, allocations: 205.2 kB / 385.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.3756, allocations: 79.41 kB / 385.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3757, allocations: 59.92 kB / 385.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.3758, allocations: 352.6 kB / 385.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3759, allocations: 61.61 kB / 385.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3761, allocations: 175.7 kB / 385.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3764, allocations: 178.7 kB / 386.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3764, allocations: 2.812 kB / 386.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005025/0.3769, allocations: 273 kB / 386.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.377, allocations: 9.406 kB / 386.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.377, allocations: 1.375 kB / 386.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.3771, allocations: 29.8 kB / 386.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.3774, allocations: 54.23 kB / 386.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3786, allocations: 1.568 MB / 388 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.3789, allocations: 25.94 kB / 388.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3789, allocations: 14.81 kB / 388.1 MB, free: 4.742 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.3792, allocations: 170.2 kB / 388.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.3793, allocations: 41.67 kB / 388.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.629e-05/0.3794, allocations: 44.64 kB / 388.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3794, allocations: 2.688 kB / 388.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3794, allocations: 0.7969 kB / 388.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004415/0.3798, allocations: 0.5777 MB / 388.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3809, allocations: 0.7074 MB / 389.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3809, allocations: 0.75 kB / 389.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.3811, allocations: 46.36 kB / 389.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3811, allocations: 1.156 kB / 389.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3811, allocations: 10.56 kB / 389.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3812, allocations: 4.172 kB / 389.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3812, allocations: 1.031 kB / 389.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.3817, allocations: 400.3 kB / 390.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3819, allocations: 136.9 kB / 390.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.382, allocations: 12.31 kB / 390.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3822, allocations: 9.172 kB / 390.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.3823, allocations: 19.33 kB / 390.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.3823, allocations: 7.328 kB / 390.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004997/0.3828, allocations: 311.7 kB / 390.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3828, allocations: 0 / 390.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.3834, allocations: 97.58 kB / 390.6 MB, free: 2.926 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001686/0.3851, allocations: 1.244 MB / 391.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006844/0.3858, allocations: 309 kB / 392.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3858, allocations: 0 / 392.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3859, allocations: 85.25 kB / 392.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.3866, allocations: 116 kB / 392.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.3919, allocations: 3.367 MB / 395.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.3924, allocations: 0.7944 MB / 396.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.3927, allocations: 48.58 kB / 396.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.3929, allocations: 125.6 kB / 396.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of SimCode: time 1.844e-06/0.3929, allocations: 0 / 396.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.436, allocations: 10.18 MB / 406.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.25, allocations: 13 kB / 406.9 MB, free: 11.32 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0006 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches