Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001549/0.001549, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 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.001951/0.001951, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09373, allocations: 53.33 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004491/0.09822, allocations: 2.891 MB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.1006, allocations: 1.413 MB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1009, allocations: 7.938 kB / 430.6 MB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.1014, allocations: 183.1 kB / 430.8 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006286/0.102, allocations: 242.6 kB / 431 MB, free: 24 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1749/0.2769, allocations: 137 kB / 431.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007334/0.2777, allocations: 459.6 kB / 431.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.2778, allocations: 70.11 kB / 431.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.2781, allocations: 193.5 kB / 431.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.2783, allocations: 222 kB / 432.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.2784, allocations: 31.84 kB / 432.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.2786, allocations: 72.11 kB / 432.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.2787, allocations: 85.09 kB / 432.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.2788, allocations: 198.3 kB / 432.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.2793, allocations: 494.1 kB / 432.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2794, allocations: 0.8438 kB / 432.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2794, allocations: 0 / 432.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.2794, allocations: 0 / 432.9 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.0008847/0.2802, allocations: 0.7194 MB / 433.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2803, allocations: 11.56 kB / 433.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.493e-05/0.2804, allocations: 59.48 kB / 433.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.2804, allocations: 48.88 kB / 433.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.2808, allocations: 356.3 kB / 434.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2809, allocations: 15.47 kB / 434.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.2809, allocations: 24.3 kB / 434.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.2813, allocations: 300.5 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2813, allocations: 3.688 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2814, allocations: 13.36 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2814, allocations: 9.062 kB / 434.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2816, allocations: 152.1 kB / 434.6 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.001159/0.2828, allocations: 0.8413 MB / 435.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.2832, allocations: 174.2 kB / 435.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.2833, allocations: 69.69 kB / 435.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2833, allocations: 4.516 kB / 435.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.2836, allocations: 140.8 kB / 435.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.2836, allocations: 0 / 435.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007559/0.2843, allocations: 401.1 kB / 436.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.2844, allocations: 324.5 kB / 436.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.2848, allocations: 436.9 kB / 437 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2848, allocations: 36.36 kB / 437 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2849, allocations: 206 kB / 437.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.285, allocations: 84.06 kB / 437.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.2851, allocations: 59.62 kB / 437.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.2851, allocations: 351.1 kB / 437.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2853, allocations: 61.52 kB / 437.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.2854, allocations: 180.1 kB / 437.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.2857, allocations: 172.2 kB / 438.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2857, allocations: 0 / 438.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004165/0.2861, allocations: 281 kB / 438.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2861, allocations: 5.688 kB / 438.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2861, allocations: 1.891 kB / 438.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.2863, allocations: 38.11 kB / 438.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.2865, allocations: 50.59 kB / 438.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2876, allocations: 1.578 MB / 440.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2878, allocations: 25.58 kB / 440.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2878, allocations: 8.594 kB / 440.1 MB, free: 3.09 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.0001369/0.2879, allocations: 165 kB / 440.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.288, allocations: 47.55 kB / 440.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.288, allocations: 49.66 kB / 440.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.288, allocations: 2.438 kB / 440.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.288, allocations: 1.156 kB / 440.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003688/0.2884, allocations: 0.5816 MB / 440.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.2892, allocations: 0.7154 MB / 441.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2892, allocations: 0 / 441.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.2894, allocations: 43.3 kB / 441.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2894, allocations: 3 kB / 441.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2894, allocations: 11.64 kB / 441.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2894, allocations: 1.156 kB / 441.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2894, allocations: 0.875 kB / 441.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.2899, allocations: 411.3 kB / 442.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.29, allocations: 141.1 kB / 442.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.2901, allocations: 3.891 kB / 442.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.2903, allocations: 12.28 kB / 442.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.2903, allocations: 19.77 kB / 442.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.2904, allocations: 6.875 kB / 442.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.2906, allocations: 319.6 kB / 442.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2906, allocations: 0 / 442.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.291, allocations: 98.23 kB / 442.7 MB, free: 1.262 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.001998/0.293, allocations: 1.256 MB / 444 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005687/0.2936, allocations: 293.8 kB / 444.2 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2936, allocations: 1.125 kB / 444.2 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.2938, allocations: 76.61 kB / 444.3 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.2943, allocations: 110.6 kB / 444.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.2988, allocations: 3.396 MB / 447.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.2992, allocations: 0.8007 MB / 448.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.2994, allocations: 43.81 kB / 448.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.2996, allocations: 126.1 kB / 448.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2996, allocations: 0 / 448.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.3396, allocations: 10.33 MB / 459.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.05, allocations: 4.359 kB / 459.1 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/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_4.1.0_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.504842360969633]