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.0008389/0.000839, allocations: 97.59 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009835/0.0009838, allocations: 202.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002214/0.0002215, allocations: 11.98 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0811/0.08134, allocations: 51.52 MB / 359.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003263/0.08465, allocations: 2.547 MB / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.08708, allocations: 1.317 MB / 363.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.08732, allocations: 4 kB / 363.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.0878, allocations: 167.4 kB / 363.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.08833, allocations: 219 kB / 363.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.08866, allocations: 115.8 kB / 363.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.08923, allocations: 438 kB / 364.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.08952, allocations: 99.95 kB / 364.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.08978, allocations: 171.2 kB / 364.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.09006, allocations: 199.2 kB / 364.6 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.09012, allocations: 20 kB / 364.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.09028, allocations: 59.97 kB / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.789e-05/0.09038, allocations: 75.69 kB / 364.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.09057, allocations: 216.6 kB / 365 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.09102, allocations: 462.5 kB / 365.4 MB, free: 7.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09104, allocations: 0 / 365.4 MB, free: 7.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09104, allocations: 0 / 365.4 MB, free: 7.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.09106, allocations: 4 kB / 365.4 MB, free: 7.102 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.0008701/0.09193, allocations: 0.6346 MB / 366 MB, free: 6.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.09198, allocations: 12.03 kB / 366.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.723e-05/0.09208, allocations: 55.17 kB / 366.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.09217, allocations: 48.38 kB / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.09259, allocations: 354.5 kB / 366.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.09262, allocations: 16.81 kB / 366.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.09266, allocations: 23.94 kB / 366.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.09311, allocations: 297.5 kB / 366.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09314, allocations: 4 kB / 366.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.09317, allocations: 8 kB / 366.8 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.09318, allocations: 15.98 kB / 366.9 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.09345, allocations: 149.7 kB / 367 MB, free: 5.363 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.001206/0.09467, allocations: 0.8322 MB / 367.8 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.09503, allocations: 197.8 kB / 368 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.09518, allocations: 76.84 kB / 368.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.09521, allocations: 11.92 kB / 368.1 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.09546, allocations: 134.7 kB / 368.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.09547, allocations: 0 / 368.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007383/0.09621, allocations: 406.8 kB / 368.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.09636, allocations: 316.4 kB / 369 MB, free: 3.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.0968, allocations: 441.6 kB / 369.4 MB, free: 2.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.09684, allocations: 33.7 kB / 369.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.09698, allocations: 212.2 kB / 369.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.09705, allocations: 78.84 kB / 369.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.0971, allocations: 33.7 kB / 369.7 MB, free: 2.418 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.09726, allocations: 346.8 kB / 370.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.09739, allocations: 59.97 kB / 370.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.09761, allocations: 180 kB / 370.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.09789, allocations: 177 kB / 370.5 MB, free: 1.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0979, allocations: 96 / 370.5 MB, free: 1.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004371/0.09834, allocations: 277.9 kB / 370.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.09837, allocations: 8 kB / 370.8 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.09838, allocations: 0 / 370.8 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.09849, allocations: 32.84 kB / 370.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.0987, allocations: 55.91 kB / 370.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1563/0.255, allocations: 1.449 MB / 372.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.2553, allocations: 25.23 kB / 372.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2553, allocations: 13.58 kB / 372.3 MB, free: 18.28 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.0001834/0.2555, allocations: 172 kB / 372.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.2556, allocations: 38.56 kB / 372.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.507e-05/0.2557, allocations: 43.39 kB / 372.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2557, allocations: 2.5 kB / 372.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2557, allocations: 4.312 kB / 372.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003787/0.2561, allocations: 0.5806 MB / 373.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.2568, allocations: 0.7077 MB / 373.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2568, allocations: 0 / 373.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.257, allocations: 46.28 kB / 373.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2571, allocations: 1.891 kB / 373.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2571, allocations: 7.656 kB / 373.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2571, allocations: 1.625 kB / 373.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2571, allocations: 1.062 kB / 373.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.2576, allocations: 409.6 kB / 374.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2577, allocations: 144.6 kB / 374.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.2577, allocations: 9.656 kB / 374.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2579, allocations: 11.77 kB / 374.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.258, allocations: 17.94 kB / 374.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.258, allocations: 11 kB / 374.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003172/0.2583, allocations: 316.2 kB / 374.8 MB, free: 16.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2583, allocations: 4.641 kB / 374.8 MB, free: 16.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.2587, allocations: 94.95 kB / 374.9 MB, free: 16.97 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.001394/0.2601, allocations: 1.241 MB / 376.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005318/0.2606, allocations: 308.1 kB / 376.5 MB, free: 16.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2607, allocations: 0 / 376.5 MB, free: 16.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.2608, allocations: 86.7 kB / 376.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.2614, allocations: 104.5 kB / 376.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.2653, allocations: 3.608 MB / 380.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.2655, allocations: 0.8101 MB / 381.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.2657, allocations: 48.69 kB / 381.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.2659, allocations: 125.7 kB / 381.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2659, allocations: 0 / 381.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.2862, allocations: 9.39 MB / 390.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.2864, allocations: 273.5 kB / 390.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.248, allocations: 5.375 kB / 390.9 MB, free: 10.3 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