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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 57.8 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2475, allocations: 49.15 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003568/0.251, allocations: 2.661 MB / 399 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2527, allocations: 1.125 MB / 400.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2529, allocations: 7.812 kB / 400.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.2534, allocations: 183.6 kB / 400.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.2539, allocations: 211 kB / 400.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.2542, allocations: 151.6 kB / 400.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.2547, allocations: 446.3 kB / 401.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.2549, allocations: 73.81 kB / 401.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.2551, allocations: 184.8 kB / 401.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.2555, allocations: 196.1 kB / 401.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.2555, allocations: 33.72 kB / 401.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.2557, allocations: 69.55 kB / 401.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2558, allocations: 93.69 kB / 401.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.256, allocations: 152.9 kB / 401.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.2566, allocations: 496.7 kB / 402.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2566, allocations: 1.438 kB / 402.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2566, allocations: 3.938 kB / 402.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2566, allocations: 0 / 402.4 MB, free: 5.301 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.0009669/0.2576, allocations: 0.6283 MB / 403 MB, free: 4.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2576, allocations: 14.88 kB / 403 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.827e-05/0.2577, allocations: 65.16 kB / 403.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.506e-05/0.2578, allocations: 48.34 kB / 403.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.2583, allocations: 284.2 kB / 403.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2583, allocations: 19.02 kB / 403.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.2584, allocations: 20.53 kB / 403.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.2589, allocations: 0.5993 MB / 404 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2589, allocations: 4 kB / 404 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.2589, allocations: 12.47 kB / 404.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.259, allocations: 4.875 kB / 404.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.2593, allocations: 157.3 kB / 404.2 MB, free: 3.844 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.001131/0.2604, allocations: 0.6936 MB / 404.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.2607, allocations: 172.9 kB / 405.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.2609, allocations: 68.75 kB / 405.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.2609, allocations: 13.12 kB / 405.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.2611, allocations: 192.2 kB / 405.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.2611, allocations: 0 / 405.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007577/0.2619, allocations: 328.2 kB / 405.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.262, allocations: 318.2 kB / 406 MB, free: 2.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.2624, allocations: 439.9 kB / 406.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2625, allocations: 33.06 kB / 406.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2626, allocations: 211.8 kB / 406.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.2626, allocations: 79.88 kB / 406.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.2627, allocations: 58.06 kB / 406.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.2628, allocations: 349 kB / 407.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.2629, allocations: 59.75 kB / 407.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2632, allocations: 441.9 kB / 407.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.2634, allocations: 182.9 kB / 407.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2634, allocations: 6.078 kB / 407.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004362/0.2639, allocations: 271.7 kB / 408.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2639, allocations: 6.531 kB / 408.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2639, allocations: 0 / 408.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.264, allocations: 30 kB / 408.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.2642, allocations: 55.58 kB / 408.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.2655, allocations: 1.467 MB / 409.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.2657, allocations: 25.69 kB / 409.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2657, allocations: 10.58 kB / 409.7 MB, free: 15.59 MB / 334.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.0002083/0.266, allocations: 166.6 kB / 409.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.266, allocations: 49.86 kB / 409.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.2665, allocations: 268.5 kB / 410.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2665, allocations: 2.75 kB / 410.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.2665, allocations: 0 / 410.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000614/0.2672, allocations: 0.5887 MB / 410.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.2682, allocations: 0.6549 MB / 411.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2682, allocations: 0 / 411.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2685, allocations: 43.38 kB / 411.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2685, allocations: 1.406 kB / 411.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.2685, allocations: 7.375 kB / 411.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2685, allocations: 1.281 kB / 411.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2685, allocations: 0 / 411.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.2691, allocations: 425.8 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.2693, allocations: 64.98 kB / 411.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.2693, allocations: 7.188 kB / 411.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2696, allocations: 8.25 kB / 411.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.2696, allocations: 16.8 kB / 411.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.2696, allocations: 6.906 kB / 411.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004078/0.27, allocations: 318.9 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.27, allocations: 0 / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.2705, allocations: 97.61 kB / 412.3 MB, free: 13.76 MB / 334.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 (24): * Single equations (assignments): 22 * 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.002597/0.2731, allocations: 1.294 MB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006333/0.2737, allocations: 305.9 kB / 413.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2737, allocations: 1.031 kB / 413.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.2739, allocations: 77.83 kB / 414 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.2745, allocations: 107.7 kB / 414.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.2793, allocations: 3.387 MB / 417.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2796, allocations: 194.9 kB / 417.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.2798, allocations: 51.31 kB / 417.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.28, allocations: 121.3 kB / 417.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.28, allocations: 0 / 417.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06425/0.3442, allocations: 11.51 MB / 429.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.41, allocations: 3.906 kB / 429.4 MB, free: 0.9531 MB / 334.1 MB " [Timeout remaining time 646] (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.000299581 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.946132812649012]