Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001499/0.001499, allocations: 102.2 kB / 21.95 MB, free: 5.219 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.001565/0.001565, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 58.75 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2363, allocations: 49.16 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00361/0.2399, allocations: 2.652 MB / 399.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2415, allocations: 1.135 MB / 400.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.2416, allocations: 7.688 kB / 400.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.2421, allocations: 179.2 kB / 401.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.2425, allocations: 210.7 kB / 401.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.2428, allocations: 154.6 kB / 401.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.2433, allocations: 454.6 kB / 401.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2434, allocations: 70.31 kB / 402 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.2436, allocations: 183.9 kB / 402.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.2439, allocations: 221.3 kB / 402.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.2439, allocations: 29.5 kB / 402.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.2441, allocations: 77.8 kB / 402.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.2442, allocations: 83.94 kB / 402.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2443, allocations: 159.3 kB / 402.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.2448, allocations: 491.5 kB / 403.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2448, allocations: 0 / 403.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2448, allocations: 0 / 403.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2448, allocations: 0 / 403.2 MB, free: 5.301 MB / 318.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.0008195/0.2456, allocations: 0.6314 MB / 403.8 MB, free: 4.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2456, allocations: 14.61 kB / 403.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.415e-05/0.2457, allocations: 15.14 kB / 403.8 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.2457, allocations: 62.98 kB / 403.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.2458, allocations: 49.97 kB / 403.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.2462, allocations: 289.6 kB / 404.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2462, allocations: 22.44 kB / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.2463, allocations: 25.56 kB / 404.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.2468, allocations: 0.6064 MB / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2468, allocations: 0 / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.2468, allocations: 11.75 kB / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.2468, allocations: 5.844 kB / 404.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.2471, allocations: 160.4 kB / 405.1 MB, free: 3.832 MB / 318.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.0012/0.2483, allocations: 0.7389 MB / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.2487, allocations: 199.6 kB / 406 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2488, allocations: 98.95 kB / 406.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.2488, allocations: 9.281 kB / 406.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.2491, allocations: 194.1 kB / 406.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2491, allocations: 0 / 406.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001906/0.251, allocations: 0.9089 MB / 407.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2511, allocations: 319.3 kB / 407.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.2515, allocations: 439.8 kB / 407.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2515, allocations: 36.48 kB / 408 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2516, allocations: 194.5 kB / 408.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.2517, allocations: 124 kB / 408.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.2518, allocations: 75.42 kB / 408.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.2518, allocations: 351.9 kB / 408.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.252, allocations: 85.55 kB / 408.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.2522, allocations: 466.3 kB / 409.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.2525, allocations: 224.3 kB / 409.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2525, allocations: 1.375 kB / 409.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004778/0.253, allocations: 338.1 kB / 409.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.253, allocations: 9.25 kB / 409.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.253, allocations: 1.875 kB / 409.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.2531, allocations: 42.8 kB / 409.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.2534, allocations: 77.61 kB / 409.9 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.2548, allocations: 1.454 MB / 411.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.255, allocations: 17.16 kB / 411.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.255, allocations: 20.67 kB / 411.4 MB, free: 15.1 MB / 334.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.0002021/0.2552, allocations: 175.4 kB / 411.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.2553, allocations: 46.19 kB / 411.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.2559, allocations: 336.8 kB / 412 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2559, allocations: 3.875 kB / 412 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2559, allocations: 0 / 412 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006354/0.2565, allocations: 0.6438 MB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.2577, allocations: 0.7683 MB / 413.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2577, allocations: 7.969 kB / 413.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.258, allocations: 71.11 kB / 413.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.258, allocations: 5.25 kB / 413.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.258, allocations: 8.422 kB / 413.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.258, allocations: 2.5 kB / 413.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.258, allocations: 0.6562 kB / 413.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.2588, allocations: 0.5155 MB / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.2589, allocations: 71.03 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.259, allocations: 9.516 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.2592, allocations: 20.59 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.2592, allocations: 22.73 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.2593, allocations: 9.172 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003371/0.2596, allocations: 318 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2596, allocations: 0 / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.26, allocations: 99.47 kB / 414.5 MB, free: 13.12 MB / 334.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.002743/0.2627, allocations: 1.456 MB / 416 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.2634, allocations: 355.8 kB / 416.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2634, allocations: 5.156 kB / 416.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.2636, allocations: 118.8 kB / 416.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.2642, allocations: 112.8 kB / 416.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.2689, allocations: 3.629 MB / 420.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2691, allocations: 211.3 kB / 420.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.2693, allocations: 42.59 kB / 420.4 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.2695, allocations: 146.8 kB / 420.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2695, allocations: 0 / 420.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.3077, allocations: 11.93 MB / 432.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.86, allocations: 11.92 kB / 432.5 MB, free: 14.55 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat. Warning: Get data of variable openTank.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.342238734010607]