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.00124/0.00124, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.001369/0.001369, allocations: 213.5 kB / 24.51 MB, free: 3.941 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.338/1.338, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 47.92 kB / 378.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.205, allocations: 53.36 MB / 431.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003888/0.2089, allocations: 2.69 MB / 434.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2109, allocations: 1.321 MB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.2111, allocations: 3.938 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.2115, allocations: 179.1 kB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.212, allocations: 250.6 kB / 436.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.2123, allocations: 143.6 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005163/0.2128, allocations: 465.9 kB / 436.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2129, allocations: 64.33 kB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.2131, allocations: 187.3 kB / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.2134, allocations: 215.2 kB / 437.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.2135, allocations: 32 kB / 437.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.2136, allocations: 75.97 kB / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.2137, allocations: 87.62 kB / 437.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.2139, allocations: 163.2 kB / 437.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.2144, allocations: 493.9 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2144, allocations: 0 / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2144, allocations: 4 kB / 438.2 MB, free: 340 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2144, allocations: 4 kB / 438.2 MB, free: 336 kB / 334.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.001/0.2154, allocations: 0.6445 MB / 438.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2155, allocations: 11.97 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.294e-05/0.2155, allocations: 8.625 kB / 438.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.964e-05/0.2156, allocations: 67.14 kB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.2157, allocations: 52.61 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.2161, allocations: 293 kB / 439.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2162, allocations: 20.56 kB / 439.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.2162, allocations: 24 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.2169, allocations: 0.6072 MB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2169, allocations: 3.953 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.2169, allocations: 15.98 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2169, allocations: 4 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.2172, allocations: 161.7 kB / 440.1 MB, free: 14.25 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.001311/0.2185, allocations: 0.7425 MB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.2189, allocations: 200 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.2191, allocations: 97.31 kB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2191, allocations: 4.234 kB / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.2194, allocations: 203.7 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.2194, allocations: 0 / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002055/0.2215, allocations: 0.9057 MB / 442.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.2216, allocations: 316.4 kB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.2221, allocations: 449.6 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.2222, allocations: 37.7 kB / 443 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2223, allocations: 200.8 kB / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.2224, allocations: 123 kB / 443.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2225, allocations: 73.48 kB / 443.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2227, allocations: 354.8 kB / 443.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.2228, allocations: 83.97 kB / 443.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.2232, allocations: 460.9 kB / 444.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.2236, allocations: 220.4 kB / 444.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2236, allocations: 3.938 kB / 444.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005599/0.2242, allocations: 345.6 kB / 444.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2242, allocations: 7.938 kB / 444.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2242, allocations: 4 kB / 444.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.2243, allocations: 28.84 kB / 444.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2246, allocations: 87.83 kB / 444.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.226, allocations: 1.456 MB / 446.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.2262, allocations: 23.97 kB / 446.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.2263, allocations: 19.94 kB / 446.4 MB, free: 7.395 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.0001818/0.2264, allocations: 168 kB / 446.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.2265, allocations: 47.72 kB / 446.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006089/0.2271, allocations: 343.5 kB / 447 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2271, allocations: 0 / 447 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.2271, allocations: 4 kB / 447 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006375/0.2278, allocations: 0.6453 MB / 447.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2289, allocations: 0.7753 MB / 448.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2289, allocations: 3.938 kB / 448.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.2292, allocations: 67.91 kB / 448.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2292, allocations: 4 kB / 448.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.2292, allocations: 7.984 kB / 448.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2292, allocations: 4 kB / 448.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2292, allocations: 0 / 448.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007218/0.23, allocations: 0.5087 MB / 449 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.2301, allocations: 75.64 kB / 449.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.2302, allocations: 8 kB / 449.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2304, allocations: 15.98 kB / 449.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.2304, allocations: 24.14 kB / 449.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.2305, allocations: 12 kB / 449.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.2308, allocations: 323.1 kB / 449.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2308, allocations: 0 / 449.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000388/0.2312, allocations: 103.9 kB / 449.6 MB, free: 4.086 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 (35): * Single equations (assignments): 33 * 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.002655/0.2338, allocations: 1.466 MB / 451 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.2345, allocations: 362.4 kB / 451.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2345, allocations: 4.062 kB / 451.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.2347, allocations: 116.3 kB / 451.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.2352, allocations: 115 kB / 451.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.2398, allocations: 3.653 MB / 455.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.24, allocations: 212.7 kB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.2402, allocations: 55.23 kB / 455.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.2404, allocations: 135.4 kB / 455.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2404, allocations: 0 / 455.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.2766, allocations: 12.01 MB / 467.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.82, allocations: 7.344 kB / 467.7 MB, free: 2.258 MB / 366.1 MB " [Timeout remaining time 647] (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] "Error: Could not read variable openTank.H in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat. Warning: Get data of variable openTank.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.294528838945553]