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.001229/0.001229, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 62.42 kB / 306.3 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08692, allocations: 50.52 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004034/0.09099, allocations: 2.917 MB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.09328, allocations: 1.399 MB / 361.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.09355, allocations: 4 kB / 361.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.09408, allocations: 167.4 kB / 361.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.09464, allocations: 219 kB / 361.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.095, allocations: 115.8 kB / 361.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.09556, allocations: 441.6 kB / 362.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.09575, allocations: 96.02 kB / 362.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.09599, allocations: 171.3 kB / 362.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.09627, allocations: 207.1 kB / 362.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.09634, allocations: 20 kB / 362.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.0965, allocations: 59.98 kB / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.09661, allocations: 79.67 kB / 362.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.09681, allocations: 198.9 kB / 362.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.09725, allocations: 470.6 kB / 363.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09726, allocations: 0 / 363.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.09727, allocations: 0 / 363.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.09729, allocations: 0 / 363.4 MB, free: 7.656 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.0009838/0.09827, allocations: 0.7008 MB / 364.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.09832, allocations: 8.031 kB / 364.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.468e-05/0.09842, allocations: 67.06 kB / 364.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/0.09852, allocations: 48.38 kB / 364.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.09895, allocations: 350.5 kB / 364.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.09898, allocations: 16.81 kB / 364.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.09902, allocations: 23.94 kB / 364.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.09948, allocations: 301.5 kB / 364.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.09951, allocations: 0 / 364.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.09954, allocations: 8 kB / 364.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.09955, allocations: 8 kB / 364.9 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.09984, allocations: 153.7 kB / 365.1 MB, free: 5.852 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.001303/0.1012, allocations: 0.84 MB / 365.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.1016, allocations: 194.5 kB / 366.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1017, allocations: 80.83 kB / 366.2 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1018, allocations: 7.938 kB / 366.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.1021, allocations: 138.7 kB / 366.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.1021, allocations: 0 / 366.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008066/0.1029, allocations: 398.8 kB / 366.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.103, allocations: 328.4 kB / 367 MB, free: 3.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.1035, allocations: 437.7 kB / 367.4 MB, free: 3.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1035, allocations: 37.64 kB / 367.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1037, allocations: 208.2 kB / 367.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.1038, allocations: 78.89 kB / 367.8 MB, free: 2.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.1039, allocations: 57.7 kB / 367.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.104, allocations: 346.8 kB / 368.2 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1042, allocations: 67.97 kB / 368.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1044, allocations: 172 kB / 368.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1047, allocations: 177 kB / 368.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1047, allocations: 4 kB / 368.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004668/0.1051, allocations: 273.8 kB / 368.8 MB, free: 1.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1052, allocations: 4 kB / 368.8 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1052, allocations: 4 kB / 368.8 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.1053, allocations: 36.92 kB / 368.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1055, allocations: 51.92 kB / 368.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.107, allocations: 1.452 MB / 370.4 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1072, allocations: 23.88 kB / 370.4 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1072, allocations: 12 kB / 370.4 MB, free: 60 kB / 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.1329/0.2401, allocations: 167 kB / 370.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2403, allocations: 44.73 kB / 370.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.2403, allocations: 42.52 kB / 370.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2404, allocations: 6.312 kB / 370.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2404, allocations: 1.312 kB / 370.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004299/0.2408, allocations: 0.5814 MB / 371.2 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000839/0.2417, allocations: 0.6998 MB / 371.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2417, allocations: 0 / 371.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.2419, allocations: 51.42 kB / 372 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2419, allocations: 1.875 kB / 372 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.2419, allocations: 6.719 kB / 372 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2419, allocations: 2.188 kB / 372 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2419, allocations: 0.9375 kB / 372 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.2425, allocations: 412.2 kB / 372.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.2426, allocations: 139.1 kB / 372.5 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.2426, allocations: 9.688 kB / 372.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2429, allocations: 13.36 kB / 372.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.2429, allocations: 12.06 kB / 372.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.2429, allocations: 10.12 kB / 372.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.2432, allocations: 323.1 kB / 372.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2433, allocations: 0.7812 kB / 372.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.2436, allocations: 91.05 kB / 373 MB, free: 18.67 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.001445/0.2451, allocations: 1.249 MB / 374.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000533/0.2456, allocations: 309.3 kB / 374.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2457, allocations: 1.219 kB / 374.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.2458, allocations: 80.34 kB / 374.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.2464, allocations: 105.6 kB / 374.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.2501, allocations: 3.547 MB / 378.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2503, allocations: 0.8046 MB / 379.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.2505, allocations: 43.48 kB / 379.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.2506, allocations: 127.2 kB / 379.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2506, allocations: 0 / 379.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.2742, allocations: 9.627 MB / 388.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.2744, allocations: 272.4 kB / 389.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.206, allocations: 0 / 389.1 MB, free: 11.72 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