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.00149/0.00149, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001603/0.001603, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.323/1.323, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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.001713/0.001713, allocations: 55.91 kB / 378.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2266, allocations: 53.41 MB / 431.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004313/0.2309, allocations: 2.902 MB / 434.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.2331, allocations: 1.437 MB / 436.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.2333, allocations: 3.938 kB / 436.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.2338, allocations: 183.1 kB / 436.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.2343, allocations: 250.6 kB / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2346, allocations: 139.6 kB / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.2351, allocations: 461.9 kB / 437.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.2353, allocations: 76.31 kB / 437.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.2355, allocations: 187.3 kB / 437.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.2358, allocations: 223.1 kB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.2358, allocations: 32 kB / 437.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.236, allocations: 67.98 kB / 437.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2361, allocations: 83.69 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.2363, allocations: 206.9 kB / 438.2 MB, free: 448 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.2368, allocations: 486.9 kB / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2368, allocations: 0 / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2368, allocations: 0 / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2368, allocations: 4 kB / 438.6 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.0009631/0.2378, allocations: 0.6444 MB / 439.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2378, allocations: 15.97 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.469e-05/0.2379, allocations: 16.45 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.097e-05/0.2379, allocations: 63.16 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.238, allocations: 56.61 kB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.2385, allocations: 289.1 kB / 439.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2385, allocations: 20.8 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2386, allocations: 20.38 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.2391, allocations: 313.4 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2391, allocations: 3.938 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.2391, allocations: 12 kB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2391, allocations: 4 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.2394, allocations: 157.7 kB / 440.2 MB, free: 14.26 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.001402/0.2408, allocations: 0.8473 MB / 441.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.2412, allocations: 210.7 kB / 441.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2414, allocations: 97.33 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2414, allocations: 4.234 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.2417, allocations: 144.3 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.2417, allocations: 0 / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002048/0.2438, allocations: 0.8947 MB / 442.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002335/0.244, allocations: 324.4 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.2445, allocations: 441.6 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.2445, allocations: 33.7 kB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2447, allocations: 208.8 kB / 443.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2448, allocations: 119 kB / 443.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2449, allocations: 77.69 kB / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2451, allocations: 346.8 kB / 443.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2452, allocations: 91.73 kB / 444 MB, free: 10.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.2455, allocations: 192 kB / 444.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.2459, allocations: 227.7 kB / 444.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2459, allocations: 0 / 444.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005669/0.2465, allocations: 341.6 kB / 444.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2465, allocations: 4 kB / 444.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2465, allocations: 4 kB / 444.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.2466, allocations: 36.78 kB / 444.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.2469, allocations: 79.89 kB / 444.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.2484, allocations: 1.459 MB / 446.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2486, allocations: 16.09 kB / 446.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.2486, allocations: 11.94 kB / 446.4 MB, free: 7.699 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.0001949/0.2488, allocations: 178 kB / 446.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/0.2489, allocations: 47.72 kB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.2494, allocations: 338.7 kB / 446.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2495, allocations: 4 kB / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.2495, allocations: 0 / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006026/0.2501, allocations: 0.6375 MB / 447.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2512, allocations: 0.8188 MB / 448.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2512, allocations: 0 / 448.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.2515, allocations: 75.89 kB / 448.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.2515, allocations: 7.938 kB / 448.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2515, allocations: 4 kB / 448.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2515, allocations: 4 kB / 448.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2515, allocations: 0 / 448.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.2523, allocations: 0.4891 MB / 449 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.2524, allocations: 75.58 kB / 449 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.2524, allocations: 15.94 kB / 449.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2527, allocations: 15.98 kB / 449.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2527, allocations: 19.91 kB / 449.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.2527, allocations: 15.98 kB / 449.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.2531, allocations: 323.2 kB / 449.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2531, allocations: 0 / 449.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.2535, allocations: 99.94 kB / 449.5 MB, free: 4.355 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.002602/0.2561, allocations: 1.405 MB / 450.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.2567, allocations: 358.5 kB / 451.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2567, allocations: 4.188 kB / 451.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.2569, allocations: 111.8 kB / 451.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.2575, allocations: 119.9 kB / 451.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.2621, allocations: 3.638 MB / 455.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.2625, allocations: 0.8125 MB / 456 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.2627, allocations: 51.25 kB / 456 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.2629, allocations: 139.4 kB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2629, allocations: 0 / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.2999, allocations: 11.29 MB / 467.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.52, allocations: 12.81 kB / 467.4 MB, free: 2.559 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 & /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: 15.012017050990835]