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.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 177.3 kB / 16.71 MB, free: 5.094 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.237/1.237, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0007519/0.0007519, allocations: 91.25 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.000237, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1868, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002318/0.1892, allocations: 3.172 MB / 407.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.1902, allocations: 0.9575 MB / 408.7 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1903, allocations: 7.938 kB / 408.7 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1906, allocations: 87.44 kB / 408.8 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.191, allocations: 175.8 kB / 409 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1912, allocations: 120.8 kB / 409.1 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.1917, allocations: 0.6418 MB / 409.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.1919, allocations: 178.5 kB / 409.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1921, allocations: 231 kB / 410.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.1923, allocations: 266.7 kB / 410.4 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.1924, allocations: 36 kB / 410.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.1925, allocations: 40 kB / 410.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.1926, allocations: 103.6 kB / 410.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.1928, allocations: 316.2 kB / 410.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.1931, allocations: 0.6514 MB / 411.5 MB, free: 24.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1932, allocations: 0 / 411.5 MB, free: 24.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1932, allocations: 0 / 411.5 MB, free: 24.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1932, allocations: 0 / 411.5 MB, free: 24.33 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001042/0.1942, allocations: 0.8117 MB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1943, allocations: 12.02 kB / 412.3 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.1943, allocations: 72.12 kB / 412.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.1948, allocations: 430.5 kB / 412.8 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.195, allocations: 86.89 kB / 412.9 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.195, allocations: 32.38 kB / 413 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/0.1957, allocations: 0.501 MB / 413.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1958, allocations: 4 kB / 413.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.1958, allocations: 12 kB / 413.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1958, allocations: 8 kB / 413.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.1966, allocations: 386.4 kB / 413.9 MB, free: 21.84 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.001533/0.1981, allocations: 1.298 MB / 415.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.1987, allocations: 399.5 kB / 415.5 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.1991, allocations: 204.8 kB / 415.7 MB, free: 19.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.1991, allocations: 7.984 kB / 415.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.1991, allocations: 38.56 kB / 415.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.343e-06/0.1991, allocations: 0 / 415.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001419/0.2006, allocations: 0.7989 MB / 416.6 MB, free: 18.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.2006, allocations: 448.9 kB / 417 MB, free: 18.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.201, allocations: 450 kB / 417.5 MB, free: 17.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.201, allocations: 33.7 kB / 417.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2012, allocations: 244.4 kB / 417.7 MB, free: 17.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.2012, allocations: 118.3 kB / 417.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.2012, allocations: 12 kB / 417.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.2013, allocations: 358.7 kB / 418.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.2017, allocations: 159.9 kB / 418.4 MB, free: 17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.2021, allocations: 310.7 kB / 418.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.2027, allocations: 381.2 kB / 419 MB, free: 16.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2027, allocations: 0 / 419 MB, free: 16.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008468/0.2036, allocations: 0.5174 MB / 419.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2036, allocations: 33.69 kB / 419.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2036, allocations: 4 kB / 419.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.2038, allocations: 45.7 kB / 419.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.2042, allocations: 103.9 kB / 419.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.2056, allocations: 2.74 MB / 422.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.206, allocations: 67.69 kB / 422.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.206, allocations: 12 kB / 422.6 MB, free: 12.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.2061, allocations: 165.8 kB / 422.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.2062, allocations: 59.28 kB / 422.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.2063, allocations: 56.75 kB / 422.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2063, allocations: 4 kB / 422.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2063, allocations: 0 / 422.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007792/0.2071, allocations: 0.7713 MB / 423.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.2084, allocations: 1.063 MB / 424.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2084, allocations: 3.938 kB / 424.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.2088, allocations: 99.86 kB / 424.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2088, allocations: 4 kB / 424.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2089, allocations: 4 kB / 424.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2089, allocations: 4 kB / 424.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2089, allocations: 0 / 424.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.21, allocations: 0.7171 MB / 425.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.2101, allocations: 172.4 kB / 425.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.2102, allocations: 15.94 kB / 425.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.2105, allocations: 35.97 kB / 425.7 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.2106, allocations: 32.02 kB / 425.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2106, allocations: 8 kB / 425.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.2109, allocations: 319.1 kB / 426.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2109, allocations: 0 / 426.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000334/0.2112, allocations: 139.8 kB / 426.2 MB, free: 8.578 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 8.083e-05/0.2113, allocations: 119.1 kB / 426.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009709/0.2123, allocations: 0.6766 MB / 427 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2123, allocations: 0 / 427 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.2127, allocations: 203.8 kB / 427.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.2133, allocations: 141.9 kB / 427.3 MB, free: 7.398 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2145, allocations: 1.148 MB / 428.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.2146, allocations: 0.8317 MB / 429.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.2149, allocations: 64.34 kB / 429.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.215, allocations: 47.36 kB / 429.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.215, allocations: 0 / 429.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of Templates: time 0.01106/0.226, allocations: 8.168 MB / 437.6 MB, free: 13.14 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches