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.001665/0.001665, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001918/0.001918, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.379/1.379, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001894/0.001894, allocations: 63.91 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09409, allocations: 53.32 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004774/0.09887, allocations: 2.878 MB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1015, allocations: 1.414 MB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.1018, allocations: 7.938 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.1023, allocations: 179.1 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007008/0.103, allocations: 250.6 kB / 431.4 MB, free: 292 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1034, allocations: 139.5 kB / 431.5 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1738/0.2772, allocations: 452 kB / 431.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.2774, allocations: 70.25 kB / 432 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.2777, allocations: 183.6 kB / 432.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.278, allocations: 223.1 kB / 432.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.278, allocations: 29.88 kB / 432.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.2782, allocations: 68.59 kB / 432.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.2783, allocations: 95.72 kB / 432.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2784, allocations: 192.5 kB / 432.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.2789, allocations: 498.6 kB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2789, allocations: 0 / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2789, allocations: 5.438 kB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.2789, allocations: 0.9375 kB / 433.3 MB, free: 7.523 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.0008379/0.2797, allocations: 0.7169 MB / 434 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2798, allocations: 12.03 kB / 434 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.024e-05/0.2799, allocations: 62.22 kB / 434.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.375e-05/0.2799, allocations: 56.06 kB / 434.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.2803, allocations: 350.6 kB / 434.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2803, allocations: 17 kB / 434.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.2804, allocations: 20.38 kB / 434.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.2808, allocations: 307.8 kB / 434.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2808, allocations: 0 / 434.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.2808, allocations: 11.22 kB / 434.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2808, allocations: 5.375 kB / 434.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.2811, allocations: 148.8 kB / 435 MB, free: 6.535 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.001064/0.2821, allocations: 0.8413 MB / 435.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.2825, allocations: 175.9 kB / 436 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.2826, allocations: 73.73 kB / 436.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2826, allocations: 5.203 kB / 436.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.2829, allocations: 139 kB / 436.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.2829, allocations: 1.156 kB / 436.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.000749/0.2836, allocations: 400.6 kB / 436.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.2837, allocations: 321.7 kB / 436.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.2841, allocations: 440 kB / 437.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2841, allocations: 30.55 kB / 437.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2842, allocations: 212.1 kB / 437.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.2843, allocations: 81.22 kB / 437.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.2844, allocations: 57.98 kB / 437.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.2844, allocations: 350.1 kB / 438 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2845, allocations: 60.28 kB / 438.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.2847, allocations: 186.2 kB / 438.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.285, allocations: 170.1 kB / 438.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.285, allocations: 9.156 kB / 438.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004045/0.2854, allocations: 276.3 kB / 438.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2854, allocations: 6.219 kB / 438.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2854, allocations: 1.375 kB / 438.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.2855, allocations: 35.55 kB / 438.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2857, allocations: 59.58 kB / 438.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.2868, allocations: 1.571 MB / 440.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.287, allocations: 26.83 kB / 440.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.287, allocations: 7.016 kB / 440.4 MB, free: 3.207 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.0001507/0.2871, allocations: 165.8 kB / 440.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.2872, allocations: 46.28 kB / 440.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.078e-05/0.2873, allocations: 41.5 kB / 440.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2873, allocations: 13.86 kB / 440.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2873, allocations: 1.578 kB / 440.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003551/0.2876, allocations: 0.5784 MB / 441.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007874/0.2884, allocations: 0.7117 MB / 442 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2884, allocations: 0 / 442 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.2886, allocations: 46.95 kB / 442 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2886, allocations: 1.5 kB / 442 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.2886, allocations: 7.609 kB / 442 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2886, allocations: 5.156 kB / 442 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2886, allocations: 0 / 442 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.2891, allocations: 412.8 kB / 442.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2892, allocations: 137 kB / 442.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.2893, allocations: 6.797 kB / 442.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.2895, allocations: 14.95 kB / 442.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.2895, allocations: 16.53 kB / 442.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2895, allocations: 10.64 kB / 442.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.2898, allocations: 319.8 kB / 442.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2898, allocations: 0 / 442.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.2902, allocations: 94.27 kB / 443 MB, free: 1.387 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.001916/0.2921, allocations: 1.257 MB / 444.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.2927, allocations: 293.7 kB / 444.6 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.2927, allocations: 0.9062 kB / 444.6 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.2928, allocations: 79.31 kB / 444.7 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.2934, allocations: 108.8 kB / 444.8 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.2978, allocations: 3.394 MB / 448.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.2982, allocations: 0.804 MB / 449 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.2984, allocations: 43.23 kB / 449 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.2986, allocations: 126.8 kB / 449.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2986, allocations: 0 / 449.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.3399, allocations: 10.33 MB / 459.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.05, allocations: 9.594 kB / 459.5 MB, free: 10.44 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.47270903736353]