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.001249/0.001249, allocations: 120 kB / 18.49 MB, free: 4.566 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.001315/0.001315, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.407/1.407, allocations: 230.4 MB / 254.7 MB, free: 15.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 63.89 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1009, allocations: 53.37 MB / 427 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00444/0.1053, allocations: 2.897 MB / 429.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1076, allocations: 1.414 MB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1078, allocations: 7.938 kB / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.1083, allocations: 179.1 kB / 431.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1906/0.2989, allocations: 246.1 kB / 431.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.2994, allocations: 133.5 kB / 431.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.3, allocations: 463 kB / 432.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.3002, allocations: 72.53 kB / 432.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.3004, allocations: 191 kB / 432.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3007, allocations: 219.8 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.3008, allocations: 31.31 kB / 432.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.3009, allocations: 75 kB / 432.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.301, allocations: 82.67 kB / 433 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3012, allocations: 208.6 kB / 433.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.3017, allocations: 482.8 kB / 433.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3017, allocations: 5.25 kB / 433.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3017, allocations: 0.8125 kB / 433.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3017, allocations: 0 / 433.7 MB, free: 7.504 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.00086/0.3025, allocations: 0.7179 MB / 434.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3026, allocations: 12.34 kB / 434.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.909e-05/0.3026, allocations: 9.203 kB / 434.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.223e-05/0.3027, allocations: 61.61 kB / 434.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.3028, allocations: 55.78 kB / 434.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.3032, allocations: 349.7 kB / 434.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3032, allocations: 18.38 kB / 434.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.3033, allocations: 23.41 kB / 434.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.3037, allocations: 315 kB / 435.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3037, allocations: 5.141 kB / 435.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3037, allocations: 11.7 kB / 435.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3037, allocations: 5.625 kB / 435.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.304, allocations: 160.8 kB / 435.4 MB, free: 6.508 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.001268/0.3053, allocations: 0.8795 MB / 436.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.3057, allocations: 206 kB / 436.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.3058, allocations: 88.61 kB / 436.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3059, allocations: 4.125 kB / 436.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.3061, allocations: 152.4 kB / 436.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/0.3061, allocations: 0 / 436.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001998/0.3081, allocations: 1.033 MB / 437.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.3082, allocations: 322.9 kB / 438.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.3087, allocations: 442.1 kB / 438.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3087, allocations: 39.95 kB / 438.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3088, allocations: 201.2 kB / 438.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.3089, allocations: 123.3 kB / 438.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.582e-05/0.309, allocations: 71.95 kB / 438.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.3091, allocations: 355.8 kB / 439.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3093, allocations: 87.47 kB / 439.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.3095, allocations: 200.6 kB / 439.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.3098, allocations: 222.2 kB / 439.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3098, allocations: 0.625 kB / 439.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005133/0.3103, allocations: 345.1 kB / 440.1 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3103, allocations: 6.172 kB / 440.1 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3103, allocations: 96 / 440.1 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.3105, allocations: 44.47 kB / 440.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.3107, allocations: 77.33 kB / 440.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3119, allocations: 1.566 MB / 441.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.3121, allocations: 15.33 kB / 441.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.3121, allocations: 13.27 kB / 441.8 MB, free: 2.469 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 (38): * Single equations (assignments): 37 * 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.0001607/0.3123, allocations: 175.2 kB / 442 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.3124, allocations: 46.58 kB / 442.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.784e-05/0.3125, allocations: 56.3 kB / 442.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3125, allocations: 3.219 kB / 442.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3125, allocations: 0 / 442.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004768/0.3129, allocations: 0.6368 MB / 442.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.314, allocations: 0.8523 MB / 443.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.314, allocations: 1.219 kB / 443.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.3143, allocations: 72.34 kB / 443.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3143, allocations: 1.969 kB / 443.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.3143, allocations: 15.7 kB / 443.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3143, allocations: 2.969 kB / 443.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3143, allocations: 1.141 kB / 443.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.315, allocations: 0.4941 MB / 444.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3151, allocations: 148.6 kB / 444.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.3152, allocations: 12.83 kB / 444.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.3154, allocations: 12.77 kB / 444.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.3155, allocations: 25.94 kB / 444.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.3155, allocations: 9.25 kB / 444.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3158, allocations: 319.1 kB / 444.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3158, allocations: 0 / 444.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000408/0.3162, allocations: 99.55 kB / 444.8 MB, free: 0.5039 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 ($outputAlias_level,$outputAlias_T) * 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 (34): * Single equations (assignments): 32 * 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.00253/0.3187, allocations: 1.412 MB / 446.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000681/0.3194, allocations: 357.5 kB / 446.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3194, allocations: 1.062 kB / 446.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.3196, allocations: 104.4 kB / 446.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.3202, allocations: 113.7 kB / 446.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.3252, allocations: 3.639 MB / 450.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.3257, allocations: 0.8099 MB / 451.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.3259, allocations: 60.92 kB / 451.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.3261, allocations: 140.5 kB / 451.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3261, allocations: 0 / 451.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.3634, allocations: 11.06 MB / 462.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.07, allocations: 12.97 kB / 462.5 MB, free: 8.727 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/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.mat. Warning: Get data of variable openTank.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.633295233012177]