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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 114.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 46.64 kB / 300.2 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08259, allocations: 49.44 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003923/0.08655, allocations: 2.896 MB / 352.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.08845, allocations: 1.239 MB / 353.8 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.08872, allocations: 11.88 kB / 353.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.08927, allocations: 163.4 kB / 354 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.08982, allocations: 187 kB / 354.2 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.0903, allocations: 153.3 kB / 354.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.09087, allocations: 449.1 kB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.09106, allocations: 107.5 kB / 354.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.09129, allocations: 187.3 kB / 355 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.09154, allocations: 211.2 kB / 355.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.0916, allocations: 28 kB / 355.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.09175, allocations: 75.92 kB / 355.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.09184, allocations: 83.67 kB / 355.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.09201, allocations: 191 kB / 355.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.09247, allocations: 474.7 kB / 356.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.09248, allocations: 3.984 kB / 356.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09249, allocations: 0 / 356.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.09251, allocations: 0 / 356.1 MB, free: 14.21 MB / 302.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.001063/0.09358, allocations: 0.7084 MB / 356.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.09363, allocations: 8.031 kB / 356.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.789e-05/0.09372, allocations: 55.17 kB / 356.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.09382, allocations: 48.38 kB / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.09422, allocations: 350.5 kB / 357.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.09424, allocations: 12.81 kB / 357.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.09429, allocations: 27.94 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.09475, allocations: 293.5 kB / 357.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.09478, allocations: 7.984 kB / 357.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.09481, allocations: 11.94 kB / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.09483, allocations: 8 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.09511, allocations: 149.7 kB / 357.7 MB, free: 12.41 MB / 302.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.001184/0.0963, allocations: 0.836 MB / 358.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.09668, allocations: 198.3 kB / 358.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.09683, allocations: 76.83 kB / 358.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.09687, allocations: 7.938 kB / 358.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.09716, allocations: 127.3 kB / 359 MB, free: 11.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.896e-06/0.09717, allocations: 0 / 359 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007872/0.09796, allocations: 416.3 kB / 359.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.09809, allocations: 320.4 kB / 359.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.09852, allocations: 429.7 kB / 360.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.09856, allocations: 33.7 kB / 360.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.09869, allocations: 204.2 kB / 360.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.09876, allocations: 78.89 kB / 360.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.09885, allocations: 53.7 kB / 360.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.09897, allocations: 358.7 kB / 360.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.0991, allocations: 67.97 kB / 360.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.09931, allocations: 171.9 kB / 361.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.09959, allocations: 167.4 kB / 361.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.0996, allocations: 3.938 kB / 361.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004338/0.1, allocations: 277.8 kB / 361.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1001, allocations: 4 kB / 361.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1001, allocations: 4.094 kB / 361.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.1002, allocations: 32.84 kB / 361.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.1004, allocations: 51.91 kB / 361.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1017, allocations: 1.574 MB / 363.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.102, allocations: 35.78 kB / 363.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.102, allocations: 4 kB / 363.2 MB, free: 6.512 MB / 302.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.0001632/0.1021, allocations: 172.7 kB / 363.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.1022, allocations: 39.8 kB / 363.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.1023, allocations: 43.58 kB / 363.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1023, allocations: 4 kB / 363.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1023, allocations: 0 / 363.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004569/0.1028, allocations: 0.5824 MB / 364 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.1036, allocations: 0.7117 MB / 364.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1036, allocations: 0 / 364.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.1038, allocations: 47.91 kB / 364.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1038, allocations: 0 / 364.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1039, allocations: 8 kB / 364.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1039, allocations: 0 / 364.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1039, allocations: 0 / 364.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.1044, allocations: 405.6 kB / 365.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1045, allocations: 144.6 kB / 365.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.1046, allocations: 7.938 kB / 365.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1048, allocations: 15.98 kB / 365.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1049, allocations: 11.98 kB / 365.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1049, allocations: 4 kB / 365.4 MB, free: 4.113 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002842/0.1052, allocations: 315.1 kB / 365.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1052, allocations: 12 kB / 365.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1056, allocations: 95.78 kB / 365.8 MB, free: 3.703 MB / 302.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.001544/0.1071, allocations: 1.243 MB / 367 MB, free: 2.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.1077, allocations: 318.4 kB / 367.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.1077, allocations: 4 kB / 367.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.1078, allocations: 82.3 kB / 367.4 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.1084, allocations: 101.6 kB / 367.5 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1364/0.2448, allocations: 3.492 MB / 371 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2451, allocations: 0.7987 MB / 371.8 MB, free: 23.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.2453, allocations: 50.28 kB / 371.9 MB, free: 23.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.2455, allocations: 123.5 kB / 372 MB, free: 23.64 MB / 302.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2455, allocations: 0 / 372 MB, free: 23.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.2691, allocations: 9.878 MB / 381.9 MB, free: 21.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/0.2693, allocations: 279.4 kB / 382.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.277, allocations: 1.188 kB / 382.1 MB, free: 20.98 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches