Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.0008172, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8383/0.8383, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.087e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00254/0.002551, allocations: 2.652 MB / 321.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.003977, allocations: 1.192 MB / 322.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.004084, allocations: 7.938 kB / 322.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.004461, allocations: 183 kB / 322.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.004788, allocations: 214.7 kB / 322.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.005033, allocations: 167.4 kB / 322.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.005383, allocations: 480.5 kB / 323.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.00551, allocations: 63.94 kB / 323.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.005701, allocations: 263.4 kB / 323.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.005863, allocations: 171.6 kB / 323.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.005898, allocations: 28 kB / 323.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.005991, allocations: 71.91 kB / 323.9 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.006066, allocations: 95.61 kB / 324 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.006156, allocations: 123.7 kB / 324.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.00651, allocations: 490.4 kB / 324.6 MB, free: 192 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006514, allocations: 7.984 kB / 324.6 MB, free: 184 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006515, allocations: 0 / 324.6 MB, free: 184 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006519, allocations: 3.938 kB / 324.6 MB, free: 180 kB / 282.7 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.0006755/0.007195, allocations: 0.629 MB / 325.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.007229, allocations: 8.922 kB / 325.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.048e-05/0.007299, allocations: 63.12 kB / 325.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.007357, allocations: 56.66 kB / 325.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.007665, allocations: 280.5 kB / 325.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.007681, allocations: 16.81 kB / 325.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.007707, allocations: 20.38 kB / 325.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.008101, allocations: 0.6085 MB / 326.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008112, allocations: 0 / 326.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.008133, allocations: 12 kB / 326.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.00814, allocations: 8 kB / 326.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.008328, allocations: 145.9 kB / 326.4 MB, free: 14.16 MB / 298.7 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.000835/0.009163, allocations: 0.6959 MB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.009401, allocations: 179.1 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.009486, allocations: 68.84 kB / 327.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.009511, allocations: 11.92 kB / 327.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.009702, allocations: 194.6 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.009703, allocations: 0 / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005241/0.01023, allocations: 332.8 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/0.01032, allocations: 312.4 kB / 328.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.01086, allocations: 437.7 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.01088, allocations: 37.7 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01098, allocations: 212.4 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.01103, allocations: 71.34 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.01109, allocations: 61.64 kB / 329 MB, free: 11.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.01117, allocations: 346.8 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.01126, allocations: 67.97 kB / 329.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.01145, allocations: 440.9 kB / 329.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.01165, allocations: 180 kB / 330 MB, free: 10.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01165, allocations: 3.938 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000286/0.01194, allocations: 274.1 kB / 330.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01195, allocations: 4 kB / 330.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01195, allocations: 0 / 330.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-05/0.01205, allocations: 36.78 kB / 330.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01217, allocations: 51.97 kB / 330.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008914/0.01306, allocations: 1.467 MB / 331.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01317, allocations: 23.84 kB / 331.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.01317, allocations: 4 kB / 331.9 MB, free: 8.273 MB / 298.7 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.0001219/0.0133, allocations: 169.8 kB / 332 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.01333, allocations: 39.77 kB / 332.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.0137, allocations: 266 kB / 332.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.0137, allocations: 15.92 kB / 332.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.0137, allocations: 4 kB / 332.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003093/0.01401, allocations: 0.5853 MB / 332.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.01459, allocations: 0.6487 MB / 333.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01459, allocations: 0 / 333.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.01471, allocations: 47.97 kB / 333.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01471, allocations: 4 kB / 333.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01472, allocations: 3.938 kB / 333.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01472, allocations: 4 kB / 333.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01472, allocations: 7.938 kB / 333.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.01508, allocations: 417.4 kB / 334 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.01516, allocations: 63.66 kB / 334.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.01519, allocations: 11.98 kB / 334.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.0153, allocations: 12 kB / 334.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.01533, allocations: 11.97 kB / 334.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.01535, allocations: 8 kB / 334.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002157/0.01556, allocations: 315.1 kB / 334.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01556, allocations: 0 / 334.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.0158, allocations: 95.89 kB / 334.6 MB, free: 5.379 MB / 298.7 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.001369/0.01717, allocations: 1.297 MB / 335.9 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.01755, allocations: 307.3 kB / 336.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01755, allocations: 0 / 336.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.01764, allocations: 79.16 kB / 336.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.01799, allocations: 113.1 kB / 336.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.02071, allocations: 3.325 MB / 339.7 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02083, allocations: 191.5 kB / 339.9 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.93e-05/0.02093, allocations: 46.94 kB / 339.9 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.02105, allocations: 128.5 kB / 340 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02105, allocations: 0 / 340 MB, free: 15.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.04321, allocations: 11.6 MB / 351.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/7.851, allocations: 10.86 kB / 351.6 MB, free: 4.484 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.473237662576139]