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.001985/0.001985, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001316/0.001316, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.32/1.32, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.001702/0.001702, allocations: 59.91 kB / 378.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2119, allocations: 53.41 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003922/0.2159, allocations: 2.69 MB / 434.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2179, allocations: 1.32 MB / 435.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.218, allocations: 7.938 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.2185, allocations: 175.1 kB / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.219, allocations: 258.6 kB / 436.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.2193, allocations: 139.6 kB / 436.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.2198, allocations: 457.9 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2199, allocations: 72.2 kB / 437 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.2201, allocations: 195.3 kB / 437.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.2204, allocations: 215.2 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.2204, allocations: 28 kB / 437.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.2206, allocations: 75.92 kB / 437.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2207, allocations: 87.67 kB / 437.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.2208, allocations: 163.2 kB / 437.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.2214, allocations: 0.4901 MB / 438.2 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2214, allocations: 0 / 438.2 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2214, allocations: 0 / 438.2 MB, free: 296 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2214, allocations: 0 / 438.2 MB, free: 296 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.000952/0.2223, allocations: 0.6445 MB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2224, allocations: 8.031 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.606e-05/0.2224, allocations: 8.625 kB / 438.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.2225, allocations: 63.16 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.2226, allocations: 52.61 kB / 439 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.223, allocations: 293 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.223, allocations: 16.81 kB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.2231, allocations: 24.38 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.2237, allocations: 0.6111 MB / 439.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2237, allocations: 3.953 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2237, allocations: 12 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2237, allocations: 8 kB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.224, allocations: 157.7 kB / 440.1 MB, free: 14.22 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.001301/0.2253, allocations: 0.7541 MB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.2257, allocations: 204 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.2259, allocations: 89.3 kB / 441.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2259, allocations: 8.219 kB / 441.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.2262, allocations: 195.7 kB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.2262, allocations: 4 kB / 441.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002046/0.2283, allocations: 0.9065 MB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.2284, allocations: 316.4 kB / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.2289, allocations: 445.6 kB / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.2289, allocations: 37.7 kB / 443 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.2291, allocations: 204.8 kB / 443.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.2292, allocations: 123 kB / 443.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2293, allocations: 77.41 kB / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2295, allocations: 358.8 kB / 443.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.2296, allocations: 79.97 kB / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.23, allocations: 464.9 kB / 444.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.2304, allocations: 219.7 kB / 444.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2304, allocations: 8 kB / 444.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005571/0.2309, allocations: 337.7 kB / 444.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2309, allocations: 14.5 kB / 444.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.231, allocations: 0 / 444.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.2311, allocations: 32.78 kB / 444.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.2314, allocations: 79.89 kB / 445 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.2328, allocations: 1.455 MB / 446.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.233, allocations: 16 kB / 446.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.2331, allocations: 12 kB / 446.5 MB, free: 7.375 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.0002007/0.2333, allocations: 180.3 kB / 446.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.2333, allocations: 51.7 kB / 446.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.234, allocations: 347.4 kB / 447 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.234, allocations: 4 kB / 447 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.234, allocations: 0 / 447 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006433/0.2346, allocations: 0.6451 MB / 447.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.2358, allocations: 0.7714 MB / 448.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2358, allocations: 0 / 448.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.2361, allocations: 71.89 kB / 448.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.2361, allocations: 7.938 kB / 448.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2361, allocations: 8 kB / 448.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2361, allocations: 0 / 448.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2361, allocations: 0 / 448.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007372/0.2369, allocations: 0.5087 MB / 449.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.237, allocations: 75.7 kB / 449.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.2371, allocations: 20.03 kB / 449.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2373, allocations: 8 kB / 449.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.2373, allocations: 23.95 kB / 449.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.2374, allocations: 8 kB / 449.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.2377, allocations: 327.1 kB / 449.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2377, allocations: 0 / 449.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.2381, allocations: 103.9 kB / 449.6 MB, free: 4.047 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.00275/0.2409, allocations: 1.452 MB / 451.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.2416, allocations: 362.3 kB / 451.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2416, allocations: 0 / 451.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.2418, allocations: 112.6 kB / 451.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.2424, allocations: 115.4 kB / 451.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.247, allocations: 3.661 MB / 455.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.2472, allocations: 208.7 kB / 455.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.2474, allocations: 59.12 kB / 455.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.2476, allocations: 135.4 kB / 455.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2476, allocations: 0 / 455.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.2842, allocations: 12 MB / 467.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.85, allocations: 4.062 kB / 467.7 MB, free: 2.133 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.311364130931906]