Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001912/0.001912, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001955/0.001955, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.415/1.415, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.TwoTanks,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.89 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.0924, allocations: 53.32 MB / 426.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.00395/0.09635, allocations: 2.782 MB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.0978, allocations: 0.8567 MB / 430.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.09794, allocations: 4 kB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.0982, allocations: 75.39 kB / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.0985, allocations: 138.9 kB / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.09871, allocations: 91.81 kB / 430.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.09923, allocations: 430.4 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.09939, allocations: 71.38 kB / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.09959, allocations: 163.4 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.09984, allocations: 175.3 kB / 431.4 MB, free: 244 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.0999, allocations: 36 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.09995, allocations: 32 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.1, allocations: 79.69 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.1002, allocations: 191.2 kB / 431.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.1007, allocations: 446.1 kB / 432.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1007, allocations: 0 / 432.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1007, allocations: 0 / 432.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1007, allocations: 3.938 kB / 432.2 MB, free: 15.46 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001138/0.1019, allocations: 0.6871 MB / 432.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1019, allocations: 12.02 kB / 432.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.102, allocations: 63.25 kB / 432.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.1021, allocations: 56.66 kB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1026, allocations: 299.7 kB / 433.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.1027, allocations: 50.81 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.1027, allocations: 20.38 kB / 433.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.1032, allocations: 339.2 kB / 433.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1033, allocations: 11.95 kB / 433.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.1033, allocations: 8 kB / 433.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1033, allocations: 4 kB / 433.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.1037, allocations: 210.1 kB / 433.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1052, allocations: 0.8227 MB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.1057, allocations: 255 kB / 435 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.1059, allocations: 104.9 kB / 435.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.106, allocations: 8 kB / 435.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.106, allocations: 46.55 kB / 435.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/0.106, allocations: 4 kB / 435.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001037/0.107, allocations: 483.4 kB / 435.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/0.1072, allocations: 316.4 kB / 435.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1075, allocations: 283 kB / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.1076, allocations: 33.7 kB / 436.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1077, allocations: 176.7 kB / 436.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.1078, allocations: 118.9 kB / 436.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1079, allocations: 65.7 kB / 436.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1081, allocations: 346.7 kB / 436.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1083, allocations: 91.95 kB / 437 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.1086, allocations: 208.2 kB / 437.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.1091, allocations: 270.6 kB / 437.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1091, allocations: 0 / 437.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006835/0.1098, allocations: 365.8 kB / 437.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.1098, allocations: 29.7 kB / 437.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1098, allocations: 0 / 437.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.1099, allocations: 44.92 kB / 437.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009478/0.1109, allocations: 155.8 kB / 438.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.1148, allocations: 3.233 MB / 441.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.1151, allocations: 39.81 kB / 441.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1151, allocations: 8 kB / 441.3 MB, free: 5.566 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.1153, allocations: 153.8 kB / 441.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.1154, allocations: 31.91 kB / 441.5 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.1155, allocations: 43.06 kB / 441.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1155, allocations: 8 kB / 441.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1155, allocations: 3.938 kB / 441.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007218/0.1162, allocations: 0.65 MB / 442.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.1167, allocations: 393.3 kB / 442.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1167, allocations: 0 / 442.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.1179, allocations: 199.8 kB / 442.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.447e-05/0.118, allocations: 24.84 kB / 442.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.118, allocations: 8 kB / 442.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.1215, allocations: 3.045 MB / 445.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1215, allocations: 4.125 kB / 445.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000853/0.1223, allocations: 0.5091 MB / 446.4 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1742/0.2965, allocations: 135.1 kB / 446.5 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.2965, allocations: 8.406 kB / 446.5 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.2968, allocations: 19.39 kB / 446.6 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.2969, allocations: 27.12 kB / 446.6 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2969, allocations: 6.562 kB / 446.6 MB, free: 24.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.2972, allocations: 202.1 kB / 446.8 MB, free: 24.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2972, allocations: 1.594 kB / 446.8 MB, free: 24.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.2977, allocations: 104 kB / 446.9 MB, free: 24.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009844/0.2986, allocations: 1.064 MB / 448 MB, free: 23.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.3, allocations: 0.5209 MB / 448.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3, allocations: 7.625 kB / 448.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.3013, allocations: 388.9 kB / 448.9 MB, free: 23.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.3018, allocations: 86.72 kB / 449 MB, free: 23.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.3056, allocations: 3.41 MB / 452.4 MB, free: 21.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.3057, allocations: 0.7865 MB / 453.2 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.3059, allocations: 37.41 kB / 453.2 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.306, allocations: 103.5 kB / 453.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.306, allocations: 0 / 453.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.3523, allocations: 9.694 MB / 463 MB, free: 19.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.04, allocations: 8.203 kB / 463 MB, free: 19.72 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks_fmu --startTime=0 --stopTime=1.5 --stepSize=0.00029988 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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: 14.467334151268005]