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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_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.001326/0.001326, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001476/0.001476, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 47.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1098, allocations: 46.63 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004181/0.114, allocations: 2.881 MB / 329.6 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1158, allocations: 1.174 MB / 330.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.116, allocations: 7.938 kB / 330.8 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.1165, allocations: 171.4 kB / 330.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.1169, allocations: 179 kB / 331.1 MB, free: 376 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1173, allocations: 123.8 kB / 331.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.1177, allocations: 434 kB / 331.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.1179, allocations: 96 kB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1181, allocations: 171.3 kB / 331.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1184, allocations: 207.1 kB / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.1184, allocations: 20 kB / 332.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1186, allocations: 59.98 kB / 332.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1187, allocations: 75.69 kB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.1188, allocations: 187 kB / 332.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.1193, allocations: 470.3 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1193, allocations: 0 / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1193, allocations: 0 / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1193, allocations: 0 / 332.9 MB, free: 14.56 MB / 286.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.0009392/0.1202, allocations: 0.7007 MB / 333.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1203, allocations: 8.031 kB / 333.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.92e-05/0.1204, allocations: 63.16 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.534e-05/0.1205, allocations: 52.38 kB / 333.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.1209, allocations: 342.6 kB / 334.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.1209, allocations: 16.81 kB / 334.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.121, allocations: 27.78 kB / 334.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.1214, allocations: 301.5 kB / 334.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1215, allocations: 0 / 334.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1215, allocations: 12 kB / 334.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1215, allocations: 4 kB / 334.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1218, allocations: 153.7 kB / 334.6 MB, free: 12.76 MB / 286.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.001223/0.123, allocations: 0.8322 MB / 335.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.1234, allocations: 199.1 kB / 335.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.1236, allocations: 80.81 kB / 335.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1236, allocations: 11.88 kB / 335.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.124, allocations: 131.3 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.124, allocations: 4 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008048/0.1248, allocations: 406.9 kB / 336.2 MB, free: 10.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.125, allocations: 312.4 kB / 336.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.1254, allocations: 429.7 kB / 336.9 MB, free: 10.19 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1254, allocations: 33.7 kB / 337 MB, free: 10.15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1256, allocations: 212.2 kB / 337.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.1257, allocations: 78.91 kB / 337.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.1258, allocations: 61.69 kB / 337.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1259, allocations: 350.8 kB / 337.6 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1261, allocations: 55.98 kB / 337.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.1263, allocations: 179.9 kB / 337.9 MB, free: 9.164 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1266, allocations: 179.2 kB / 338.1 MB, free: 8.977 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1266, allocations: 0 / 338.1 MB, free: 8.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000446/0.127, allocations: 269.9 kB / 338.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1271, allocations: 8 kB / 338.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1271, allocations: 0 / 338.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.1272, allocations: 32.84 kB / 338.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1274, allocations: 51.91 kB / 338.4 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.1288, allocations: 1.46 MB / 339.9 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1291, allocations: 23.88 kB / 339.9 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1291, allocations: 8 kB / 339.9 MB, free: 6.98 MB / 286.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.0001862/0.1293, allocations: 169.8 kB / 340.1 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.1293, allocations: 39.53 kB / 340.1 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.1294, allocations: 43.59 kB / 340.1 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1294, allocations: 4.172 kB / 340.2 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1294, allocations: 0 / 340.2 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005208/0.13, allocations: 0.5873 MB / 340.7 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.1308, allocations: 0.7079 MB / 341.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1308, allocations: 0 / 341.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.131, allocations: 52 kB / 341.5 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.131, allocations: 3.938 kB / 341.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1311, allocations: 0 / 341.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.1311, allocations: 4 kB / 341.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1311, allocations: 3.938 kB / 341.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.1316, allocations: 406.6 kB / 341.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1317, allocations: 136.7 kB / 342 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.1318, allocations: 8 kB / 342 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.132, allocations: 11.98 kB / 342.1 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.1321, allocations: 15.92 kB / 342.1 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1321, allocations: 12 kB / 342.1 MB, free: 4.578 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.1324, allocations: 311.1 kB / 342.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 342.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1328, allocations: 91.84 kB / 342.5 MB, free: 4.191 MB / 286.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.001653/0.1344, allocations: 1.25 MB / 343.7 MB, free: 2.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000553/0.135, allocations: 302.4 kB / 344 MB, free: 2.621 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.135, allocations: 8.188 kB / 344 MB, free: 2.613 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1352, allocations: 83.91 kB / 344.1 MB, free: 2.531 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.1357, allocations: 93.44 kB / 344.2 MB, free: 2.438 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1401, allocations: 3.505 MB / 347.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1405, allocations: 0.8035 MB / 348.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.1407, allocations: 50.94 kB / 348.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.1409, allocations: 123.4 kB / 348.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1409, allocations: 0 / 348.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.1642, allocations: 9.554 MB / 358.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/0.1646, allocations: 274 kB / 358.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.108, allocations: 4 kB / 358.5 MB, free: 3.848 MB / 302.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches