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.001244/0.001244, allocations: 114 kB / 20.43 MB, free: 1.457 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.001388/0.001388, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.375/1.375, allocations: 230.5 MB / 257.4 MB, free: 8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2282, allocations: 53.4 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.005761/0.234, allocations: 2.906 MB / 434.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.2368, allocations: 1.425 MB / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.2372, allocations: 7.938 kB / 435.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.238, allocations: 183.1 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008224/0.2388, allocations: 258.6 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.2392, allocations: 135.6 kB / 436.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.2399, allocations: 473.4 kB / 436.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.2401, allocations: 60.33 kB / 436.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.2403, allocations: 191.3 kB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.2406, allocations: 231 kB / 437 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.2407, allocations: 28 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.2409, allocations: 71.98 kB / 437.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.241, allocations: 83.69 kB / 437.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.2412, allocations: 206.9 kB / 437.4 MB, free: 476 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.2418, allocations: 486.5 kB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2418, allocations: 4 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2418, allocations: 0 / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.2418, allocations: 0 / 437.9 MB, free: 15.98 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.001091/0.2429, allocations: 0.6483 MB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2429, allocations: 8.031 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.975e-05/0.243, allocations: 59.11 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.2431, allocations: 48.66 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.2437, allocations: 300.9 kB / 438.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2437, allocations: 12.81 kB / 438.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.2438, allocations: 28.38 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.2443, allocations: 293.6 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2443, allocations: 4 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.2443, allocations: 12 kB / 439.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2443, allocations: 4 kB / 439.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.2446, allocations: 153.7 kB / 439.4 MB, free: 14.33 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.001342/0.2459, allocations: 0.8042 MB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.2463, allocations: 178.7 kB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2465, allocations: 72.83 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2465, allocations: 0 / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.2468, allocations: 146.2 kB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.392e-06/0.2468, allocations: 8 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007877/0.2475, allocations: 318.1 kB / 440.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.2477, allocations: 320.3 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.2482, allocations: 441.6 kB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2483, allocations: 33.64 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2484, allocations: 216.4 kB / 441.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.2485, allocations: 83.27 kB / 442 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.2486, allocations: 61.69 kB / 442.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2488, allocations: 350.8 kB / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.2489, allocations: 59.97 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.2492, allocations: 180.7 kB / 442.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2495, allocations: 171.9 kB / 442.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2495, allocations: 0 / 442.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004798/0.2499, allocations: 278 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.25, allocations: 8 kB / 443.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.25, allocations: 0 / 443.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.2501, allocations: 32.84 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.2503, allocations: 55.91 kB / 443.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.2519, allocations: 1.467 MB / 444.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2521, allocations: 27.84 kB / 444.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.2521, allocations: 16.03 kB / 444.7 MB, free: 8.68 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.0001895/0.2523, allocations: 156.6 kB / 444.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.2524, allocations: 47.75 kB / 444.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.2529, allocations: 270.5 kB / 445.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2529, allocations: 4 kB / 445.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2529, allocations: 4.078 kB / 445.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005433/0.2534, allocations: 0.575 MB / 445.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009235/0.2543, allocations: 0.6758 MB / 446.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2543, allocations: 4 kB / 446.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.2545, allocations: 47.91 kB / 446.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2546, allocations: 4 kB / 446.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2546, allocations: 0 / 446.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2546, allocations: 4 kB / 446.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2546, allocations: 0 / 446.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.2551, allocations: 415.2 kB / 446.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2553, allocations: 59.7 kB / 446.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.2553, allocations: 8 kB / 446.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.2555, allocations: 19.92 kB / 446.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.2556, allocations: 7.984 kB / 447 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.2556, allocations: 15.92 kB / 447 MB, free: 6.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003419/0.2559, allocations: 315.1 kB / 447.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2559, allocations: 0 / 447.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003829/0.2563, allocations: 104 kB / 447.4 MB, free: 5.785 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.002259/0.2586, allocations: 1.246 MB / 448.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.2591, allocations: 294.8 kB / 448.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2591, allocations: 4 kB / 448.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2593, allocations: 79.77 kB / 449 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.2599, allocations: 113 kB / 449.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.2644, allocations: 3.395 MB / 452.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.2648, allocations: 0.8037 MB / 453.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.265, allocations: 46.94 kB / 453.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.2652, allocations: 127.4 kB / 453.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2652, allocations: 0 / 453.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04342/0.3086, allocations: 10.52 MB / 464 MB, free: 5.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/12.95, allocations: 3.938 kB / 464 MB, free: 5.258 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.362455416005105]