Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001847/0.001847, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002085/0.002085, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003094/0.003094, allocations: 67.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2523, allocations: 53.42 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004382/0.2567, allocations: 2.898 MB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.2592, allocations: 1.429 MB / 435.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.2594, allocations: 7.938 kB / 435.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.2599, allocations: 175.1 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.2606, allocations: 258.6 kB / 435.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.2609, allocations: 139.6 kB / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.2616, allocations: 465.9 kB / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.2618, allocations: 60.33 kB / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.262, allocations: 195.3 kB / 436.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.2624, allocations: 223.1 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.2624, allocations: 28 kB / 437 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.2626, allocations: 75.92 kB / 437.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2627, allocations: 87.67 kB / 437.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.2629, allocations: 195 kB / 437.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.2635, allocations: 494.4 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2635, allocations: 0 / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2635, allocations: 0 / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.2635, allocations: 0 / 437.9 MB, free: 15.96 MB / 350.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.001101/0.2646, allocations: 0.6483 MB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2647, allocations: 8.031 kB / 438.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.607e-05/0.2648, allocations: 59.16 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/0.2649, allocations: 52.66 kB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.2654, allocations: 293 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2654, allocations: 28.75 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.2655, allocations: 20.38 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.266, allocations: 305.6 kB / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.266, allocations: 0 / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.266, allocations: 12 kB / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.266, allocations: 4 kB / 439.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.2664, allocations: 149.7 kB / 439.4 MB, free: 14.3 MB / 350.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.001376/0.2677, allocations: 0.8042 MB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.2681, allocations: 178.2 kB / 440.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2683, allocations: 76.81 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2683, allocations: 8 kB / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.2686, allocations: 142.3 kB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/0.2686, allocations: 0 / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008208/0.2694, allocations: 326 kB / 440.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.2696, allocations: 316.3 kB / 441.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.2701, allocations: 437.7 kB / 441.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2701, allocations: 33.7 kB / 441.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.2703, allocations: 216.4 kB / 441.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.2704, allocations: 83.22 kB / 442 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.2705, allocations: 57.69 kB / 442 MB, free: 11.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2706, allocations: 350.8 kB / 442.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2708, allocations: 59.98 kB / 442.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.271, allocations: 184.7 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.2713, allocations: 171.9 kB / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2713, allocations: 4 kB / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004908/0.2718, allocations: 274.1 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2719, allocations: 10.19 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2719, allocations: 0 / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.272, allocations: 32.84 kB / 443.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2722, allocations: 51.91 kB / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.2738, allocations: 1.467 MB / 444.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.274, allocations: 31.84 kB / 444.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.274, allocations: 4 kB / 444.7 MB, free: 8.66 MB / 350.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.000208/0.2742, allocations: 172.6 kB / 444.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.2743, allocations: 39.77 kB / 444.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.2748, allocations: 270.5 kB / 445.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2748, allocations: 4 kB / 445.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2748, allocations: 240 / 445.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005448/0.2753, allocations: 0.5868 MB / 445.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.2763, allocations: 0.6797 MB / 446.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2763, allocations: 96 / 446.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2765, allocations: 47.91 kB / 446.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2765, allocations: 0 / 446.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.2765, allocations: 4 kB / 446.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2765, allocations: 7.938 kB / 446.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2765, allocations: 0 / 446.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.2771, allocations: 411.2 kB / 446.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.2773, allocations: 59.69 kB / 446.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.2773, allocations: 8 kB / 446.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.2775, allocations: 15.98 kB / 446.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.2776, allocations: 11.98 kB / 447 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.2776, allocations: 7.984 kB / 447 MB, free: 6.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000365/0.278, allocations: 319.1 kB / 447.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.278, allocations: 12 kB / 447.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.2784, allocations: 91.89 kB / 447.4 MB, free: 5.754 MB / 350.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.002341/0.2807, allocations: 1.256 MB / 448.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.2813, allocations: 298.8 kB / 448.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2814, allocations: 0 / 448.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.2815, allocations: 79.77 kB / 449 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.2821, allocations: 98 kB / 449.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.2868, allocations: 3.403 MB / 452.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.2872, allocations: 0.8037 MB / 453.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.2874, allocations: 42.95 kB / 453.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2876, allocations: 127.4 kB / 453.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2876, allocations: 0 / 453.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04417/0.3317, allocations: 10.51 MB / 464 MB, free: 5.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.3, allocations: 7.938 kB / 464 MB, free: 5.227 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.033806501000072]