Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_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.001229/0.001229, allocations: 97.91 kB / 16.5 MB, free: 6.641 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.001172/0.001173, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000917/0.0009171, allocations: 50.3 kB / 300.1 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08089/0.08182, allocations: 49.44 MB / 349.5 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003935/0.08578, allocations: 2.9 MB / 352.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.08769, allocations: 1.239 MB / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.08794, allocations: 7.938 kB / 353.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.08842, allocations: 171.4 kB / 353.8 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.08892, allocations: 187 kB / 354 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.08933, allocations: 146.2 kB / 354.1 MB, free: 76 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.08985, allocations: 430 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.09003, allocations: 95.7 kB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.09024, allocations: 167.3 kB / 354.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.09048, allocations: 211.1 kB / 355 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.09054, allocations: 20 kB / 355 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.09069, allocations: 59.98 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.09078, allocations: 79.61 kB / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.09096, allocations: 183 kB / 355.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.09136, allocations: 462.7 kB / 355.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09137, allocations: 0 / 355.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.09138, allocations: 0 / 355.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.09139, allocations: 0 / 355.8 MB, free: 14.39 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.000946/0.09234, allocations: 0.7085 MB / 356.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.09239, allocations: 11.97 kB / 356.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.959e-05/0.09247, allocations: 55.17 kB / 356.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.09257, allocations: 48.38 kB / 356.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.09295, allocations: 350.5 kB / 357 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.09298, allocations: 12.81 kB / 357 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.09302, allocations: 23.94 kB / 357 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.09345, allocations: 297.5 kB / 357.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.09347, allocations: 0 / 357.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.0935, allocations: 12 kB / 357.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.09352, allocations: 11.92 kB / 357.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.09379, allocations: 157.6 kB / 357.5 MB, free: 12.59 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.001177/0.09498, allocations: 0.8361 MB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.09535, allocations: 187.1 kB / 358.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.0955, allocations: 80.83 kB / 358.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.09553, allocations: 7.938 kB / 358.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.09579, allocations: 131.3 kB / 358.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.0958, allocations: 0 / 358.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007743/0.09658, allocations: 412.2 kB / 359.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.09672, allocations: 320.4 kB / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.09714, allocations: 425.7 kB / 359.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.09718, allocations: 33.7 kB / 359.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.09733, allocations: 208.2 kB / 360.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.09739, allocations: 82.83 kB / 360.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.09748, allocations: 53.7 kB / 360.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.0976, allocations: 350.8 kB / 360.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.09774, allocations: 71.97 kB / 360.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.09795, allocations: 172 kB / 360.8 MB, free: 9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.09822, allocations: 171.3 kB / 361 MB, free: 8.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.09823, allocations: 0 / 361 MB, free: 8.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004291/0.09867, allocations: 277.8 kB / 361.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.09869, allocations: 8 kB / 361.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.0987, allocations: 0 / 361.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.09883, allocations: 36.94 kB / 361.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.09903, allocations: 51.91 kB / 361.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1002, allocations: 1.456 MB / 362.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1005, allocations: 23.83 kB / 362.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1005, allocations: 12 kB / 362.8 MB, free: 6.816 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.0001711/0.1007, allocations: 168.7 kB / 363 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.1007, allocations: 39.53 kB / 363 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.1008, allocations: 47.58 kB / 363.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1008, allocations: 3.938 kB / 363.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1008, allocations: 4 kB / 363.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004437/0.1013, allocations: 0.5783 MB / 363.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007971/0.1021, allocations: 0.7078 MB / 364.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1021, allocations: 0 / 364.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1023, allocations: 43.97 kB / 364.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1023, allocations: 0 / 364.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1023, allocations: 4 kB / 364.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.1023, allocations: 15.94 kB / 364.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1023, allocations: 96 / 364.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.1029, allocations: 409.5 kB / 364.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.103, allocations: 136.6 kB / 365 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.1031, allocations: 8 kB / 365 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1033, allocations: 11.98 kB / 365 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.1033, allocations: 11.98 kB / 365 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1033, allocations: 12.06 kB / 365 MB, free: 4.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.1036, allocations: 311.1 kB / 365.3 MB, free: 4.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1036, allocations: 3.938 kB / 365.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.104, allocations: 95.92 kB / 365.4 MB, free: 4.016 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.001586/0.1056, allocations: 1.244 MB / 366.6 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.1061, allocations: 310.4 kB / 366.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1062, allocations: 0 / 366.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1063, allocations: 83.16 kB / 367 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.1069, allocations: 108 kB / 367.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1428/0.2497, allocations: 3.489 MB / 370.6 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.25, allocations: 0.8005 MB / 371.4 MB, free: 23.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002344/0.2503, allocations: 43.7 kB / 371.5 MB, free: 23.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2504, allocations: 125.8 kB / 371.6 MB, free: 23.72 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2504, allocations: 6.219 kB / 371.6 MB, free: 23.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.2753, allocations: 9.534 MB / 381.1 MB, free: 21.62 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.2755, allocations: 279.6 kB / 381.4 MB, free: 21.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.19, allocations: 10.56 kB / 381.4 MB, free: 21.24 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches