Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.3 kB / 307.1 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09206, allocations: 50.52 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004262/0.09637, allocations: 2.867 MB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.09861, allocations: 1.398 MB / 361.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.09889, allocations: 7.938 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.09945, allocations: 183.1 kB / 362 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.1001, allocations: 242.6 kB / 362.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.1005, allocations: 135.6 kB / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.101, allocations: 457.9 kB / 362.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1013, allocations: 117.4 kB / 363 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.1015, allocations: 179.3 kB / 363.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.1017, allocations: 207.2 kB / 363.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.1018, allocations: 31.94 kB / 363.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.102, allocations: 71.98 kB / 363.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.181e-05/0.1021, allocations: 83.69 kB / 363.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1023, allocations: 202.9 kB / 363.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.1027, allocations: 482.6 kB / 364.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1027, allocations: 8 kB / 364.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1027, allocations: 3.938 kB / 364.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1027, allocations: 0 / 364.2 MB, free: 7.352 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.0009738/0.1037, allocations: 0.6968 MB / 364.9 MB, free: 6.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1038, allocations: 8.031 kB / 364.9 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.771e-05/0.1039, allocations: 59.08 kB / 365 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.104, allocations: 56.36 kB / 365 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1044, allocations: 346.6 kB / 365.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1044, allocations: 12.81 kB / 365.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.1045, allocations: 27.88 kB / 365.4 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.1049, allocations: 313.4 kB / 365.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.105, allocations: 0 / 365.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.105, allocations: 8 kB / 365.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.105, allocations: 4 kB / 365.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.1053, allocations: 149.7 kB / 365.9 MB, free: 5.551 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.001397/0.1068, allocations: 0.8516 MB / 366.7 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.1072, allocations: 190.7 kB / 366.9 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1073, allocations: 80.83 kB / 367 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1074, allocations: 3.938 kB / 367 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.1077, allocations: 134.6 kB / 367.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.1077, allocations: 8 kB / 367.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008175/0.1085, allocations: 402.8 kB / 367.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.1087, allocations: 316.4 kB / 367.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.1092, allocations: 437.7 kB / 368.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1092, allocations: 33.7 kB / 368.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1094, allocations: 208.2 kB / 368.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.1094, allocations: 86.89 kB / 368.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.1095, allocations: 53.7 kB / 368.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1097, allocations: 350.8 kB / 369 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1098, allocations: 63.97 kB / 369 MB, free: 2.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.11, allocations: 179.9 kB / 369.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1103, allocations: 173 kB / 369.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1103, allocations: 0 / 369.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00047/0.1108, allocations: 277.9 kB / 369.6 MB, free: 1.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1108, allocations: 4 kB / 369.6 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1109, allocations: 0 / 369.6 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.111, allocations: 28.84 kB / 369.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.1112, allocations: 55.91 kB / 369.7 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1371/0.2483, allocations: 1.577 MB / 371.3 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.2486, allocations: 24.39 kB / 371.3 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.2487, allocations: 13.47 kB / 371.3 MB, free: 19.26 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.0002017/0.2489, allocations: 169.2 kB / 371.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.2489, allocations: 42.97 kB / 371.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.959e-05/0.249, allocations: 41.95 kB / 371.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.249, allocations: 3.938 kB / 371.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.249, allocations: 3.297 kB / 371.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004195/0.2495, allocations: 0.5772 MB / 372.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.2503, allocations: 0.7068 MB / 372.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2503, allocations: 4.453 kB / 372.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2505, allocations: 51.59 kB / 372.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.2505, allocations: 5.406 kB / 372.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2506, allocations: 8.812 kB / 373 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2506, allocations: 1.219 kB / 373 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2506, allocations: 1.891 kB / 373 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.2511, allocations: 402.5 kB / 373.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2512, allocations: 142.3 kB / 373.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.2512, allocations: 7.891 kB / 373.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2514, allocations: 16.64 kB / 373.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.2515, allocations: 14.73 kB / 373.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.2515, allocations: 10.36 kB / 373.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003181/0.2519, allocations: 316.9 kB / 373.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2519, allocations: 1.094 kB / 373.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.2523, allocations: 95.47 kB / 373.9 MB, free: 17.96 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.001374/0.2536, allocations: 1.239 MB / 375.2 MB, free: 17.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.2543, allocations: 328.4 kB / 375.5 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2543, allocations: 0.7188 kB / 375.5 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.2545, allocations: 81.91 kB / 375.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.2551, allocations: 111.5 kB / 375.7 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.259, allocations: 3.436 MB / 379.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2592, allocations: 0.8084 MB / 379.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.2594, allocations: 43.33 kB / 380 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2596, allocations: 127 kB / 380.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2596, allocations: 3.172 kB / 380.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09254/0.3521, allocations: 10.05 MB / 390.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.28, allocations: 20.08 kB / 390.2 MB, free: 11.13 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches