Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009926/0.0009927, allocations: 178.9 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 225.7 MB / 243.2 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007214/0.0007214, allocations: 99.94 kB / 294.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002615, allocations: 8 kB / 354.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002135/0.2039, allocations: 2.434 MB / 407 MB, free: 28.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2052, allocations: 1.207 MB / 408.2 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2053, allocations: 7.938 kB / 408.2 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.2057, allocations: 175.4 kB / 408.4 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.206, allocations: 175 kB / 408.6 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2063, allocations: 143.7 kB / 408.7 MB, free: 27.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.2067, allocations: 430 kB / 409.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.2068, allocations: 95.72 kB / 409.2 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.207, allocations: 171.3 kB / 409.4 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2071, allocations: 199.2 kB / 409.6 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.2072, allocations: 20 kB / 409.6 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2073, allocations: 44 kB / 409.6 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.2074, allocations: 79.67 kB / 409.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.2075, allocations: 208.6 kB / 409.9 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.2078, allocations: 463.8 kB / 410.4 MB, free: 25.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2078, allocations: 4 kB / 410.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2078, allocations: 0 / 410.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2079, allocations: 0 / 410.4 MB, free: 25.51 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.0006963/0.2086, allocations: 0.6153 MB / 411 MB, free: 24.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.2086, allocations: 12.03 kB / 411 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.2087, allocations: 44.47 kB / 411 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.209, allocations: 350.5 kB / 411.4 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.209, allocations: 16.8 kB / 411.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.209, allocations: 28.11 kB / 411.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.2094, allocations: 293.5 kB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2094, allocations: 0 / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2095, allocations: 8 kB / 411.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2095, allocations: 4 kB / 411.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.2097, allocations: 149.6 kB / 411.9 MB, free: 23.88 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.0009974/0.2107, allocations: 0.8244 MB / 412.7 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.211, allocations: 187.1 kB / 412.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.2112, allocations: 77.95 kB / 413 MB, free: 22.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.2112, allocations: 7.984 kB / 413 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.2115, allocations: 140.2 kB / 413.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.033e-06/0.2115, allocations: 3.984 kB / 413.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006565/0.2121, allocations: 412 kB / 413.5 MB, free: 22.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.2122, allocations: 312.4 kB / 413.8 MB, free: 21.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.2126, allocations: 425.7 kB / 414.2 MB, free: 21.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2126, allocations: 33.7 kB / 414.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2127, allocations: 200.2 kB / 414.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.2127, allocations: 78.91 kB / 414.5 MB, free: 21.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.2128, allocations: 8 kB / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.2128, allocations: 350.8 kB / 414.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.213, allocations: 59.92 kB / 414.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.2131, allocations: 181.5 kB / 415.1 MB, free: 20.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.2134, allocations: 166 kB / 415.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2134, allocations: 3.938 kB / 415.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003613/0.2137, allocations: 274 kB / 415.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2138, allocations: 4 kB / 415.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.2138, allocations: 0 / 415.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.2139, allocations: 36.78 kB / 415.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2141, allocations: 47.97 kB / 415.6 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009335/0.215, allocations: 1.452 MB / 417.1 MB, free: 18.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2152, allocations: 39.72 kB / 417.1 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.2153, allocations: 8 kB / 417.1 MB, free: 18.19 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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.0001321/0.2154, allocations: 175.1 kB / 417.3 MB, free: 18.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.2154, allocations: 43.53 kB / 417.4 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.2155, allocations: 39.59 kB / 417.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2155, allocations: 4 kB / 417.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2155, allocations: 0 / 417.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003403/0.2159, allocations: 0.5889 MB / 418 MB, free: 17.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.2165, allocations: 0.6926 MB / 418.7 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2165, allocations: 4 kB / 418.7 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2167, allocations: 47.86 kB / 418.7 MB, free: 16.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2167, allocations: 3.984 kB / 418.7 MB, free: 16.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2168, allocations: 11.98 kB / 418.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2168, allocations: 0 / 418.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2168, allocations: 0 / 418.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.2172, allocations: 397.7 kB / 419.1 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2173, allocations: 152.4 kB / 419.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.2174, allocations: 12.06 kB / 419.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.2176, allocations: 15.98 kB / 419.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.2176, allocations: 7.984 kB / 419.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.2176, allocations: 8 kB / 419.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.2179, allocations: 307.1 kB / 419.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2179, allocations: 0 / 419.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.2182, allocations: 99.84 kB / 419.7 MB, free: 15.4 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.0008395/0.2191, allocations: 488 kB / 420.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.2195, allocations: 306.3 kB / 420.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2195, allocations: 0 / 420.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2197, allocations: 79.92 kB / 420.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.2202, allocations: 101.6 kB / 420.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2213, allocations: 0.9751 MB / 421.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.2215, allocations: 0.7885 MB / 422.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.2216, allocations: 46.95 kB / 422.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.2217, allocations: 35.36 kB / 422.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2217, allocations: 4 kB / 422.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Templates: time 0.008291/0.23, allocations: 5.726 MB / 428.2 MB, free: 6.973 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (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 & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches