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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 105.1 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009296/0.0009297, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2161, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003172/0.2193, allocations: 2.926 MB / 410 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2209, allocations: 1.399 MB / 411.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.221, allocations: 7.938 kB / 411.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.2215, allocations: 171.3 kB / 411.5 MB, free: 23.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.2218, allocations: 219 kB / 411.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2221, allocations: 147.7 kB / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.2225, allocations: 438 kB / 412.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2226, allocations: 111.9 kB / 412.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.2228, allocations: 163.4 kB / 412.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2229, allocations: 207.1 kB / 412.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.223, allocations: 27.94 kB / 412.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.2231, allocations: 59.98 kB / 412.9 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.2232, allocations: 79.67 kB / 413 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2233, allocations: 190.9 kB / 413.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2236, allocations: 467.9 kB / 413.6 MB, free: 21.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2236, allocations: 4 kB / 413.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2237, allocations: 0 / 413.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2237, allocations: 3.938 kB / 413.6 MB, free: 21.23 MB / 298.7 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.0007799/0.2244, allocations: 0.7047 MB / 414.3 MB, free: 20.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.2245, allocations: 8.031 kB / 414.3 MB, free: 20.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.2246, allocations: 48.38 kB / 414.4 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.2249, allocations: 342.6 kB / 414.7 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2249, allocations: 12.81 kB / 414.7 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.2249, allocations: 24.12 kB / 414.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2253, allocations: 293.5 kB / 415 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2253, allocations: 0 / 415 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.2253, allocations: 19.98 kB / 415 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2253, allocations: 4 kB / 415.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.2256, allocations: 141.7 kB / 415.2 MB, free: 19.52 MB / 298.7 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.0009659/0.2265, allocations: 0.8283 MB / 416 MB, free: 18.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.2269, allocations: 191.7 kB / 416.2 MB, free: 18.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.227, allocations: 79.84 kB / 416.3 MB, free: 18.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.2271, allocations: 11.97 kB / 416.3 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.2273, allocations: 132.2 kB / 416.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.2273, allocations: 0 / 416.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.000662/0.228, allocations: 417 kB / 416.8 MB, free: 17.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.2281, allocations: 312.4 kB / 417.1 MB, free: 17.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.2284, allocations: 441.7 kB / 417.6 MB, free: 16.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2285, allocations: 33.7 kB / 417.6 MB, free: 16.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.2286, allocations: 200.2 kB / 417.8 MB, free: 16.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.2286, allocations: 78.84 kB / 417.9 MB, free: 16.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.2287, allocations: 53.7 kB / 417.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.2287, allocations: 358.8 kB / 418.3 MB, free: 16.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2289, allocations: 63.98 kB / 418.3 MB, free: 16.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.229, allocations: 179.9 kB / 418.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.2293, allocations: 172.9 kB / 418.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2293, allocations: 3.938 kB / 418.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003615/0.2296, allocations: 273.9 kB / 419 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2297, allocations: 4 kB / 419 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2297, allocations: 3.984 kB / 419 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.2298, allocations: 36.94 kB / 419 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.23, allocations: 51.92 kB / 419 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009407/0.2309, allocations: 1.453 MB / 420.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2311, allocations: 31.72 kB / 420.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2312, allocations: 8 kB / 420.5 MB, free: 13.73 MB / 298.7 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.0001264/0.2313, allocations: 169.7 kB / 420.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.2314, allocations: 43.53 kB / 420.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.167e-05/0.2314, allocations: 39.61 kB / 420.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2314, allocations: 4 kB / 420.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2314, allocations: 4 kB / 420.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000339/0.2318, allocations: 0.5833 MB / 421.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.2324, allocations: 0.7017 MB / 422.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2325, allocations: 0 / 422.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.2326, allocations: 55.84 kB / 422.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2327, allocations: 3.938 kB / 422.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2327, allocations: 4 kB / 422.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2327, allocations: 4 kB / 422.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2327, allocations: 4 kB / 422.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.2345, allocations: 1.925 MB / 424.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.2346, allocations: 140.6 kB / 424.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.2346, allocations: 4 kB / 424.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2348, allocations: 20.05 kB / 424.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2349, allocations: 7.984 kB / 424.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.2349, allocations: 15.98 kB / 424.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.2352, allocations: 319.2 kB / 424.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2352, allocations: 0 / 424.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.2356, allocations: 128.1 kB / 424.7 MB, free: 9.227 MB / 298.7 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.0007994/0.2364, allocations: 412.7 kB / 425.1 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000458/0.2369, allocations: 322.3 kB / 425.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2369, allocations: 192 / 425.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.237, allocations: 83.91 kB / 425.5 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.2376, allocations: 91.91 kB / 425.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2387, allocations: 1.088 MB / 426.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.2389, allocations: 0.8041 MB / 427.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.2391, allocations: 46.94 kB / 427.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.2392, allocations: 35.42 kB / 427.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2392, allocations: 0 / 427.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of Templates: time 0.008324/0.2475, allocations: 6.128 MB / 433.7 MB, free: 384 kB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches