Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008018/0.0008015, allocations: 102.3 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002015/0.0002017, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1953, allocations: 51.42 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002622/0.198, allocations: 2.462 MB / 414.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.2, allocations: 1.657 MB / 416.2 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.2003, allocations: 7.938 kB / 416.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.2007, allocations: 175.4 kB / 416.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.2012, allocations: 211 kB / 416.5 MB, free: 21.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.2017, allocations: 151.7 kB / 416.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.2021, allocations: 441.7 kB / 417.1 MB, free: 20.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2023, allocations: 100 kB / 417.2 MB, free: 20.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.2026, allocations: 167.3 kB / 417.4 MB, free: 20.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.2028, allocations: 203.1 kB / 417.6 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.2029, allocations: 20 kB / 417.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.203, allocations: 52 kB / 417.7 MB, free: 20.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.2031, allocations: 71.67 kB / 417.7 MB, free: 20.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.2033, allocations: 212.7 kB / 417.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.2036, allocations: 467.8 kB / 418.4 MB, free: 19.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2036, allocations: 8 kB / 418.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2036, allocations: 0 / 418.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2037, allocations: 0 / 418.4 MB, free: 19.45 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.0007737/0.2044, allocations: 0.6347 MB / 419 MB, free: 18.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2045, allocations: 8.031 kB / 419 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.2045, allocations: 48.38 kB / 419.1 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.2049, allocations: 346.6 kB / 419.4 MB, free: 18.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2049, allocations: 16.81 kB / 419.4 MB, free: 18.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.205, allocations: 20.12 kB / 419.5 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.2054, allocations: 305.4 kB / 419.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2054, allocations: 0 / 419.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.2054, allocations: 12 kB / 419.8 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2055, allocations: 4 kB / 419.8 MB, free: 17.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.2057, allocations: 141.7 kB / 419.9 MB, free: 17.8 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.001051/0.2068, allocations: 0.8283 MB / 420.7 MB, free: 16.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.2071, allocations: 187.1 kB / 420.9 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.2072, allocations: 76.83 kB / 421 MB, free: 16.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.2073, allocations: 4 kB / 421 MB, free: 16.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.2075, allocations: 131.3 kB / 421.1 MB, free: 16.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.472e-06/0.2075, allocations: 0 / 421.1 MB, free: 16.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006835/0.2082, allocations: 413.4 kB / 421.5 MB, free: 16.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.2083, allocations: 320.4 kB / 421.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.2086, allocations: 437.6 kB / 422.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2087, allocations: 33.7 kB / 422.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.2088, allocations: 204.2 kB / 422.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.2088, allocations: 82.84 kB / 422.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/0.2088, allocations: 8 kB / 422.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.2089, allocations: 350.8 kB / 422.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.209, allocations: 59.97 kB / 423 MB, free: 14.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.2092, allocations: 168 kB / 423.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.2095, allocations: 170.2 kB / 423.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2095, allocations: 4.031 kB / 423.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000365/0.2098, allocations: 280.7 kB / 423.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2099, allocations: 4 kB / 423.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2099, allocations: 4 kB / 423.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.21, allocations: 36.83 kB / 423.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.2102, allocations: 51.91 kB / 423.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009875/0.2112, allocations: 1.452 MB / 425.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2114, allocations: 27.69 kB / 425.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2114, allocations: 8 kB / 425.2 MB, free: 12.1 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.0001326/0.2116, allocations: 173.8 kB / 425.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.2116, allocations: 39.53 kB / 425.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.2117, allocations: 47.59 kB / 425.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2117, allocations: 0 / 425.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2117, allocations: 0 / 425.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000338/0.2121, allocations: 0.5827 MB / 426 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006583/0.2127, allocations: 0.6986 MB / 426.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2127, allocations: 0 / 426.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.2129, allocations: 55.91 kB / 426.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2129, allocations: 0 / 426.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.213, allocations: 8.234 kB / 426.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.213, allocations: 3.938 kB / 426.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.213, allocations: 0 / 426.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.2134, allocations: 397.1 kB / 427.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2136, allocations: 148.5 kB / 427.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.2136, allocations: 12.06 kB / 427.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2138, allocations: 15.91 kB / 427.4 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.2139, allocations: 23.91 kB / 427.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.2139, allocations: 4 kB / 427.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002402/0.2141, allocations: 315.1 kB / 427.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2142, allocations: 0 / 427.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.2145, allocations: 87.94 kB / 427.8 MB, free: 9.305 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.0008295/0.2153, allocations: 469.7 kB / 428.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.2158, allocations: 316.7 kB / 428.5 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2158, allocations: 0 / 428.5 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2159, allocations: 75.92 kB / 428.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.2165, allocations: 109.5 kB / 428.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2176, allocations: 0.9762 MB / 429.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2178, allocations: 0.8002 MB / 430.5 MB, free: 6.637 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.218, allocations: 42.95 kB / 430.5 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.218, allocations: 35.44 kB / 430.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.218, allocations: 0 / 430.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of Templates: time 0.008392/0.2264, allocations: 5.767 MB / 436.3 MB, free: 0.8359 MB / 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/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