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.001328/0.001328, allocations: 114.4 kB / 17.28 MB, free: 6.199 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.001278/0.001278, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.367/1.367, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001238/0.001238, allocations: 51.92 kB / 280.2 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.0996, allocations: 46.62 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004825/0.1045, allocations: 2.893 MB / 329.8 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1066, allocations: 1.166 MB / 330.9 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.107, allocations: 3.938 kB / 330.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.1076, allocations: 167.4 kB / 331.1 MB, free: 448 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006316/0.1083, allocations: 183.1 kB / 331.3 MB, free: 264 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.1088, allocations: 131.8 kB / 331.4 MB, free: 132 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.1094, allocations: 450 kB / 331.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1096, allocations: 111.7 kB / 332 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.1099, allocations: 179.3 kB / 332.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.1102, allocations: 215.1 kB / 332.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.1103, allocations: 28 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1105, allocations: 67.98 kB / 332.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1106, allocations: 91.67 kB / 332.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.1108, allocations: 195 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007134/0.1115, allocations: 474.3 kB / 333.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1116, allocations: 4 kB / 333.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.1116, allocations: 0 / 333.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.1116, allocations: 3.938 kB / 333.2 MB, free: 14.35 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.001379/0.113, allocations: 0.6929 MB / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1131, allocations: 12.03 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1132, allocations: 59.17 kB / 333.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.685e-05/0.1133, allocations: 48.38 kB / 334 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.1137, allocations: 338.6 kB / 334.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1137, allocations: 16.81 kB / 334.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.1138, allocations: 27.84 kB / 334.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1143, allocations: 301.5 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1143, allocations: 3.938 kB / 334.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.1143, allocations: 12 kB / 334.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1144, allocations: 8 kB / 334.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.1146, allocations: 149.7 kB / 334.8 MB, free: 12.56 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.001286/0.1159, allocations: 0.8476 MB / 335.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.1163, allocations: 183.1 kB / 335.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1165, allocations: 84.83 kB / 335.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.1165, allocations: 11.92 kB / 336 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.1168, allocations: 131.3 kB / 336.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.704e-06/0.1168, allocations: 0 / 336.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007566/0.1176, allocations: 403.5 kB / 336.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.1178, allocations: 316.4 kB / 336.8 MB, free: 10.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.1182, allocations: 429.7 kB / 337.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1183, allocations: 29.7 kB / 337.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1184, allocations: 212.2 kB / 337.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.1185, allocations: 70.92 kB / 337.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.1186, allocations: 65.69 kB / 337.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1187, allocations: 346.8 kB / 337.9 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1189, allocations: 63.98 kB / 338 MB, free: 9.184 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1191, allocations: 175.9 kB / 338.1 MB, free: 8.969 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.1194, allocations: 187.2 kB / 338.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1194, allocations: 0 / 338.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004333/0.1198, allocations: 265.9 kB / 338.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1198, allocations: 8 kB / 338.6 MB, free: 8.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1199, allocations: 0 / 338.6 MB, free: 8.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.12, allocations: 40.94 kB / 338.6 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.1202, allocations: 51.91 kB / 338.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1216, allocations: 1.578 MB / 340.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1218, allocations: 19.84 kB / 340.3 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1218, allocations: 16.03 kB / 340.3 MB, free: 6.645 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.0001718/0.122, allocations: 161.8 kB / 340.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.1221, allocations: 47.45 kB / 340.5 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.1221, allocations: 43.59 kB / 340.5 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1222, allocations: 0 / 340.5 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1222, allocations: 0 / 340.5 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004774/0.1226, allocations: 0.5828 MB / 341.1 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/0.1235, allocations: 0.7156 MB / 341.8 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1235, allocations: 0 / 341.8 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.1237, allocations: 51.86 kB / 341.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1237, allocations: 0 / 341.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1237, allocations: 8.078 kB / 341.9 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1238, allocations: 7.938 kB / 341.9 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1238, allocations: 0 / 341.9 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.1243, allocations: 402.7 kB / 342.3 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1244, allocations: 136.6 kB / 342.4 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.1245, allocations: 8 kB / 342.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.1247, allocations: 15.94 kB / 342.5 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1247, allocations: 11.97 kB / 342.5 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.1248, allocations: 16 kB / 342.5 MB, free: 4.238 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.125, allocations: 311.1 kB / 342.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.125, allocations: 0 / 342.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.1254, allocations: 99.84 kB / 342.9 MB, free: 3.844 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.001619/0.127, allocations: 1.239 MB / 344.1 MB, free: 2.594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005956/0.1277, allocations: 322.4 kB / 344.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1277, allocations: 7.938 kB / 344.5 MB, free: 2.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1278, allocations: 83.91 kB / 344.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.1284, allocations: 101.6 kB / 344.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.1327, allocations: 3.504 MB / 348.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1331, allocations: 0.796 MB / 348.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1332, allocations: 46.94 kB / 349 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1334, allocations: 127.4 kB / 349.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1334, allocations: 0 / 349.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.1587, allocations: 9.875 MB / 359 MB, free: 3.555 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.1589, allocations: 278.2 kB / 359.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.179, allocations: 0 / 359.2 MB, free: 3.172 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