Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, 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.0007236/0.0007236, allocations: 103.1 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001935/0.0001935, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1843, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.001802/0.1861, allocations: 2.116 MB / 414.2 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007994/0.1869, allocations: 0.8802 MB / 415.1 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.187, allocations: 4 kB / 415.1 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.1872, allocations: 27.77 kB / 415.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.1873, allocations: 58.62 kB / 415.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1874, allocations: 55.89 kB / 415.2 MB, free: 22.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1876, allocations: 254.8 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1878, allocations: 81.94 kB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.1879, allocations: 87.64 kB / 415.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.188, allocations: 107.4 kB / 415.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.188, allocations: 12 kB / 415.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.1881, allocations: 12 kB / 415.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.1881, allocations: 39.84 kB / 415.8 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.1882, allocations: 125.2 kB / 415.9 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1884, allocations: 236.6 kB / 416.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1884, allocations: 3.938 kB / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1884, allocations: 0 / 416.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1884, allocations: 4 kB / 416.1 MB, free: 21.75 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006748/0.1891, allocations: 0.5186 MB / 416.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1891, allocations: 8.031 kB / 416.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.1892, allocations: 32.64 kB / 416.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1894, allocations: 228.3 kB / 416.9 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1894, allocations: 12.81 kB / 416.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1895, allocations: 24.38 kB / 417 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.1898, allocations: 238.1 kB / 417.2 MB, free: 20.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1899, allocations: 7.969 kB / 417.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1899, allocations: 12 kB / 417.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1899, allocations: 4 kB / 417.2 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.1902, allocations: 165.7 kB / 417.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.1912, allocations: 0.8244 MB / 418.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.1915, allocations: 158.6 kB / 418.4 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.1917, allocations: 88.81 kB / 418.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1917, allocations: 0 / 418.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.1917, allocations: 42.5 kB / 418.5 MB, free: 19.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.1917, allocations: 0 / 418.5 MB, free: 19.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007264/0.1925, allocations: 347.2 kB / 418.8 MB, free: 18.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.1925, allocations: 63.34 kB / 418.9 MB, free: 18.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1926, allocations: 171.2 kB / 419 MB, free: 18.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1926, allocations: 25.7 kB / 419.1 MB, free: 18.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.1927, allocations: 148.1 kB / 419.2 MB, free: 18.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1927, allocations: 59.27 kB / 419.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.1927, allocations: 4 kB / 419.3 MB, free: 18.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.1928, allocations: 326.8 kB / 419.6 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1929, allocations: 63.95 kB / 419.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1931, allocations: 94.89 kB / 419.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.1933, allocations: 153.4 kB / 419.9 MB, free: 17.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1933, allocations: 0 / 419.9 MB, free: 17.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003882/0.1937, allocations: 234 kB / 420.1 MB, free: 17.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1937, allocations: 11.88 kB / 420.1 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1938, allocations: 0 / 420.1 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.1939, allocations: 36.97 kB / 420.2 MB, free: 17.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1941, allocations: 43.91 kB / 420.2 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000728/0.1948, allocations: 1.37 MB / 421.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.195, allocations: 39.84 kB / 421.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.195, allocations: 4 kB / 421.6 MB, free: 15.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.1951, allocations: 144.4 kB / 421.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1951, allocations: 15.81 kB / 421.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.1952, allocations: 25.86 kB / 421.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1952, allocations: 4 kB / 421.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1952, allocations: 0 / 421.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1952, allocations: 0 / 421.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.1958, allocations: 0.527 MB / 422.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1958, allocations: 3.984 kB / 422.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.196, allocations: 27.98 kB / 422.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.664e-05/0.1961, allocations: 28.84 kB / 422.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1961, allocations: 3.938 kB / 422.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006392/0.1968, allocations: 1.374 MB / 423.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1968, allocations: 0 / 423.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1973, allocations: 364.1 kB / 424.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.1973, allocations: 108.9 kB / 424.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1974, allocations: 3.984 kB / 424.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1976, allocations: 27.98 kB / 424.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1976, allocations: 15.97 kB / 424.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1977, allocations: 12 kB / 424.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.1977, allocations: 127.2 kB / 424.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1977, allocations: 0 / 424.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.198, allocations: 63.83 kB / 424.5 MB, free: 12.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.263e-05/0.1981, allocations: 110.6 kB / 424.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.1985, allocations: 278.4 kB / 424.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1986, allocations: 0 / 424.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.1988, allocations: 190.9 kB / 425.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1991, allocations: 43.55 kB / 425.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.1997, allocations: 0.5732 MB / 425.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.1999, allocations: 0.7398 MB / 426.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.964e-05/0.2, allocations: 17.55 kB / 426.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.2, allocations: 11.44 kB / 426.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2, allocations: 4 kB / 426.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of Templates: time 0.004269/0.2043, allocations: 2.176 MB / 428.6 MB, free: 8.508 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches