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.00166/0.00166, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001445/0.001445, allocations: 206.4 kB / 23.73 MB, free: 4.391 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.5 MB / 257.4 MB, free: 7.727 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.001896/0.001896, allocations: 68.08 kB / 377.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.24, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004157/0.2442, allocations: 2.688 MB / 433.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2465, allocations: 1.328 MB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.2466, allocations: 3.938 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.2471, allocations: 179.1 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.2476, allocations: 254.6 kB / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.248, allocations: 139.6 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.2486, allocations: 469 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2488, allocations: 60.33 kB / 436.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.249, allocations: 191.2 kB / 436.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.2493, allocations: 195.2 kB / 436.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.2493, allocations: 32 kB / 436.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.2495, allocations: 75.97 kB / 436.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2496, allocations: 83.64 kB / 436.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.2498, allocations: 163.2 kB / 436.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.2503, allocations: 494.3 kB / 437.4 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2503, allocations: 4 kB / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2503, allocations: 0 / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2504, allocations: 0 / 437.4 MB, free: 140 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.001048/0.2514, allocations: 0.6522 MB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2514, allocations: 11.98 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.2515, allocations: 59.17 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.2516, allocations: 52.59 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.2521, allocations: 297 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2522, allocations: 12.81 kB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.2522, allocations: 28.38 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.2529, allocations: 0.5997 MB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2529, allocations: 3.984 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2529, allocations: 15.94 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2529, allocations: 7.938 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.2533, allocations: 149.7 kB / 439.3 MB, free: 14.08 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.001292/0.2545, allocations: 0.6916 MB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.2549, allocations: 178.7 kB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2551, allocations: 72.83 kB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.2551, allocations: 4 kB / 440.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.2554, allocations: 193.7 kB / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.2554, allocations: 0 / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008211/0.2562, allocations: 326 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.2564, allocations: 316.3 kB / 441.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.2569, allocations: 457.6 kB / 441.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.2569, allocations: 33.7 kB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.2571, allocations: 204.5 kB / 441.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.2572, allocations: 87.25 kB / 441.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.2573, allocations: 57.7 kB / 441.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2575, allocations: 346.8 kB / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2576, allocations: 67.97 kB / 442.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.258, allocations: 437.7 kB / 442.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.2583, allocations: 176 kB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2583, allocations: 0 / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005079/0.2588, allocations: 282 kB / 443.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2589, allocations: 4 kB / 443.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2589, allocations: 0 / 443.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.259, allocations: 32.84 kB / 443.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.2592, allocations: 55.91 kB / 443.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.2608, allocations: 1.463 MB / 444.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.261, allocations: 23.84 kB / 444.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.261, allocations: 4 kB / 444.7 MB, free: 8.191 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.0002095/0.2612, allocations: 176.5 kB / 444.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.2613, allocations: 47.72 kB / 445 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.2618, allocations: 274.6 kB / 445.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2618, allocations: 7.984 kB / 445.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.2618, allocations: 3.938 kB / 445.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005664/0.2624, allocations: 0.5829 MB / 445.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.2634, allocations: 0.6601 MB / 446.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2634, allocations: 0 / 446.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.2636, allocations: 43.97 kB / 446.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2636, allocations: 0 / 446.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2636, allocations: 8 kB / 446.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2636, allocations: 0 / 446.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2636, allocations: 4 kB / 446.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.2643, allocations: 423.4 kB / 447 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2644, allocations: 59.75 kB / 447 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.2645, allocations: 8 kB / 447 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.2647, allocations: 8 kB / 447 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.2647, allocations: 19.97 kB / 447.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2648, allocations: 4 kB / 447.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.2651, allocations: 327.1 kB / 447.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2651, allocations: 0 / 447.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.2655, allocations: 99.89 kB / 447.5 MB, free: 5.281 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 (24): * Single equations (assignments): 22 * 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.002405/0.2679, allocations: 1.293 MB / 448.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006081/0.2685, allocations: 306.7 kB / 449.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2685, allocations: 0 / 449.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.2687, allocations: 83.77 kB / 449.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.2693, allocations: 100.8 kB / 449.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.2739, allocations: 3.414 MB / 452.7 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2742, allocations: 195.5 kB / 452.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000168/0.2743, allocations: 46.94 kB / 452.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.2745, allocations: 123.4 kB / 453 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2745, allocations: 4 kB / 453 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.3169, allocations: 11.57 MB / 464.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.85, allocations: 18.22 kB / 464.6 MB, free: 4.27 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.322215632069856]