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.001182/0.001182, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 227.4 MB / 246.4 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.38 kB / 306.6 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08461/0.08581, allocations: 50.53 MB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003769/0.08961, allocations: 2.913 MB / 360 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.09163, allocations: 1.383 MB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.09187, allocations: 11.88 kB / 361.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.09236, allocations: 163.4 kB / 361.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.09289, allocations: 219 kB / 361.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.09321, allocations: 123.8 kB / 361.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.09371, allocations: 453.9 kB / 362.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.0939, allocations: 111.8 kB / 362.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.09411, allocations: 175.3 kB / 362.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.09436, allocations: 215.1 kB / 362.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.09441, allocations: 28 kB / 362.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.09456, allocations: 75.98 kB / 362.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.212e-05/0.09465, allocations: 91.67 kB / 363 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.09483, allocations: 198.9 kB / 363.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.09527, allocations: 486.6 kB / 363.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09528, allocations: 0 / 363.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09529, allocations: 0 / 363.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.0953, allocations: 0 / 363.7 MB, free: 7.715 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.0008885/0.09619, allocations: 0.7007 MB / 364.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.09624, allocations: 8.031 kB / 364.4 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.433e-05/0.09633, allocations: 59.08 kB / 364.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.663e-05/0.09642, allocations: 48.38 kB / 364.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.0968, allocations: 354.5 kB / 364.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.09683, allocations: 12.81 kB / 364.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.09688, allocations: 27.94 kB / 364.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.09732, allocations: 297.5 kB / 365.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.09735, allocations: 0 / 365.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.09738, allocations: 11.98 kB / 365.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.09739, allocations: 7.938 kB / 365.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.09767, allocations: 153.7 kB / 365.3 MB, free: 5.914 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.001167/0.09884, allocations: 0.8439 MB / 366.2 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.09922, allocations: 184.1 kB / 366.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.09936, allocations: 80.83 kB / 366.4 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.09939, allocations: 7.938 kB / 366.4 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.09967, allocations: 139.3 kB / 366.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.09968, allocations: 0 / 366.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007292/0.1004, allocations: 400.2 kB / 367 MB, free: 4.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.1005, allocations: 320.4 kB / 367.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.1009, allocations: 441.7 kB / 367.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.101, allocations: 33.7 kB / 367.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1011, allocations: 204.2 kB / 368 MB, free: 3.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.1012, allocations: 82.89 kB / 368 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.1013, allocations: 57.7 kB / 368.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1014, allocations: 358.7 kB / 368.4 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1015, allocations: 59.98 kB / 368.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1017, allocations: 176 kB / 368.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.102, allocations: 181 kB / 368.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.102, allocations: 0 / 368.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004135/0.1024, allocations: 269.9 kB / 369.1 MB, free: 1.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1024, allocations: 4 kB / 369.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1025, allocations: 3.984 kB / 369.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.1026, allocations: 36.88 kB / 369.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1028, allocations: 55.98 kB / 369.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.104, allocations: 1.574 MB / 370.8 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1042, allocations: 23.75 kB / 370.8 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1125/0.2168, allocations: 10.09 kB / 370.8 MB, free: 20.17 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.0002064/0.217, allocations: 173.5 kB / 371 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/0.2171, allocations: 43.11 kB / 371 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.765e-05/0.2171, allocations: 41.95 kB / 371.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2172, allocations: 2.172 kB / 371.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2172, allocations: 0.625 kB / 371.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003618/0.2175, allocations: 0.5809 MB / 371.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.2183, allocations: 0.7094 MB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2183, allocations: 5.266 kB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.2185, allocations: 41.67 kB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2185, allocations: 1.75 kB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.2185, allocations: 6.672 kB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2185, allocations: 0.8125 kB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2185, allocations: 1.406 kB / 372.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.219, allocations: 412.4 kB / 372.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.2191, allocations: 137.8 kB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.2191, allocations: 7.812 kB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.2193, allocations: 11.16 kB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2194, allocations: 18.47 kB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.2194, allocations: 6.219 kB / 373 MB, free: 18.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.2197, allocations: 317.9 kB / 373.3 MB, free: 18.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2197, allocations: 0 / 373.3 MB, free: 18.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.22, allocations: 96.84 kB / 373.4 MB, free: 18.87 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.001246/0.2213, allocations: 1.248 MB / 374.6 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000488/0.2218, allocations: 331.5 kB / 375 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2218, allocations: 4.812 kB / 375 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.2219, allocations: 80.02 kB / 375.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.2224, allocations: 104.3 kB / 375.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.2257, allocations: 3.541 MB / 378.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2259, allocations: 0.8106 MB / 379.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.2261, allocations: 48.58 kB / 379.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2262, allocations: 126.5 kB / 379.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2262, allocations: 0 / 379.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.766/0.9922, allocations: 9.955 MB / 389.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.9924, allocations: 277.2 kB / 389.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/3.019, allocations: 3.938 kB / 389.9 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