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.001741/0.001741, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.002159/0.002159, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 51.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2252, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004592/0.2298, allocations: 2.913 MB / 434 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.2323, allocations: 1.43 MB / 435.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.2325, allocations: 7.875 kB / 435.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.233, allocations: 175.1 kB / 435.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005303/0.2335, allocations: 258.6 kB / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2339, allocations: 139.6 kB / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.2344, allocations: 461.9 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.2346, allocations: 70.02 kB / 436.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.2349, allocations: 191.3 kB / 436.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.2352, allocations: 219.1 kB / 436.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.2352, allocations: 32 kB / 437 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.2354, allocations: 71.97 kB / 437 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2355, allocations: 87.69 kB / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.2357, allocations: 202.9 kB / 437.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.2362, allocations: 486 kB / 437.8 MB, free: 160 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2362, allocations: 0 / 437.8 MB, free: 160 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2362, allocations: 0 / 437.8 MB, free: 160 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2362, allocations: 0 / 437.8 MB, free: 160 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.001042/0.2373, allocations: 0.6485 MB / 438.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2373, allocations: 12.03 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.504e-05/0.2374, allocations: 59.16 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/0.2375, allocations: 48.66 kB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.238, allocations: 301 kB / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.238, allocations: 20.81 kB / 438.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.2381, allocations: 19.94 kB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2386, allocations: 297.5 kB / 439.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2386, allocations: 4 kB / 439.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.2386, allocations: 8 kB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2386, allocations: 11.94 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.2389, allocations: 149.7 kB / 439.4 MB, free: 14.49 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.001314/0.2402, allocations: 0.8042 MB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.2406, allocations: 171.1 kB / 440.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2407, allocations: 68.83 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.2408, allocations: 19.8 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.241, allocations: 140.9 kB / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.241, allocations: 0 / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007874/0.2418, allocations: 325.7 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/0.242, allocations: 316.4 kB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.2425, allocations: 437.7 kB / 441.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.2426, allocations: 37.7 kB / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2427, allocations: 212.4 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.2428, allocations: 79.28 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.2429, allocations: 61.69 kB / 442 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2431, allocations: 346.8 kB / 442.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2432, allocations: 59.98 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.2435, allocations: 183.8 kB / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.2438, allocations: 175.2 kB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2438, allocations: 4 kB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004652/0.2442, allocations: 282 kB / 443 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2442, allocations: 4 kB / 443 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2443, allocations: 0 / 443 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.2444, allocations: 28.84 kB / 443.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.2446, allocations: 59.91 kB / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.2462, allocations: 1.459 MB / 444.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2464, allocations: 27.84 kB / 444.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2464, allocations: 12 kB / 444.6 MB, free: 8.852 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.0001944/0.2466, allocations: 164.9 kB / 444.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.2466, allocations: 43.7 kB / 444.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.2471, allocations: 266 kB / 445.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2471, allocations: 0 / 445.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.2471, allocations: 4 kB / 445.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005559/0.2477, allocations: 0.5827 MB / 445.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009429/0.2486, allocations: 0.6824 MB / 446.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2486, allocations: 0 / 446.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.2488, allocations: 51.91 kB / 446.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2488, allocations: 0 / 446.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.2489, allocations: 8 kB / 446.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2489, allocations: 0 / 446.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2489, allocations: 4.031 kB / 446.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.2494, allocations: 410.7 kB / 446.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2496, allocations: 63.69 kB / 446.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.2496, allocations: 15.94 kB / 446.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.2498, allocations: 11.98 kB / 446.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.2499, allocations: 11.98 kB / 446.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2499, allocations: 11.98 kB / 446.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003579/0.2502, allocations: 319.2 kB / 447.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2502, allocations: 4 kB / 447.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.2506, allocations: 91.89 kB / 447.3 MB, free: 5.953 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.002332/0.253, allocations: 1.262 MB / 448.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005976/0.2536, allocations: 294.6 kB / 448.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2536, allocations: 4 kB / 448.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.2537, allocations: 75.16 kB / 449 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.2543, allocations: 105.5 kB / 449.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.2589, allocations: 3.406 MB / 452.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.2594, allocations: 0.8076 MB / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.2595, allocations: 42.95 kB / 453.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.2597, allocations: 127.4 kB / 453.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2597, allocations: 0 / 453.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04464/0.3044, allocations: 10.5 MB / 463.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.23, allocations: 10.45 kB / 464 MB, free: 5.469 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.715979654109105]