Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, 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.515/1.515, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009783/0.0009785, allocations: 98.75 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009126/0.0009127, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1922, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00301/0.1953, allocations: 2.548 MB / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.1961, allocations: 0.6762 MB / 410.3 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.1962, allocations: 4 kB / 410.3 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1964, allocations: 27.77 kB / 410.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1965, allocations: 59.53 kB / 410.4 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.1967, allocations: 59.89 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1969, allocations: 254.8 kB / 410.7 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.197, allocations: 96.81 kB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.1971, allocations: 87.66 kB / 410.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1972, allocations: 111.5 kB / 411 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1973, allocations: 16 kB / 411 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.951e-05/0.1973, allocations: 24 kB / 411 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.1974, allocations: 39.78 kB / 411 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.1975, allocations: 107.5 kB / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1976, allocations: 244.7 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1977, allocations: 0 / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1977, allocations: 0 / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1977, allocations: 3.938 kB / 411.4 MB, free: 23.46 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.0007586/0.1984, allocations: 0.5537 MB / 411.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1985, allocations: 8.875 kB / 411.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.1986, allocations: 32.59 kB / 412 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1988, allocations: 233.4 kB / 412.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1988, allocations: 12.81 kB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.1988, allocations: 24.38 kB / 412.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.1992, allocations: 230.1 kB / 412.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1992, allocations: 8 kB / 412.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1992, allocations: 8 kB / 412.5 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1993, allocations: 4 kB / 412.5 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.1996, allocations: 153.7 kB / 412.6 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.2005, allocations: 0.8204 MB / 413.5 MB, free: 21.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.2009, allocations: 166.5 kB / 413.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.201, allocations: 76.83 kB / 413.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.2011, allocations: 4 kB / 413.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.2011, allocations: 38.56 kB / 413.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.2011, allocations: 0 / 413.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007074/0.2018, allocations: 338 kB / 414.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.2018, allocations: 55.41 kB / 414.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2019, allocations: 170.7 kB / 414.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.202, allocations: 29.7 kB / 414.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.202, allocations: 144.1 kB / 414.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.202, allocations: 59.19 kB / 414.5 MB, free: 20.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.2021, allocations: 33.72 kB / 414.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.2022, allocations: 338.8 kB / 414.9 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2023, allocations: 47.97 kB / 414.9 MB, free: 19.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2024, allocations: 95.81 kB / 415 MB, free: 19.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.2027, allocations: 146.9 kB / 415.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2027, allocations: 0 / 415.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003784/0.2031, allocations: 218.2 kB / 415.4 MB, free: 19.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2031, allocations: 4 kB / 415.4 MB, free: 19.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2031, allocations: 11.92 kB / 415.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.2033, allocations: 36.77 kB / 415.4 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.2035, allocations: 31.98 kB / 415.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007045/0.2042, allocations: 1.359 MB / 416.8 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.2043, allocations: 35.84 kB / 416.8 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2044, allocations: 8 kB / 416.9 MB, free: 17.55 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 (onOffController.y,$PRE.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 7.776e-05/0.2044, allocations: 146.2 kB / 417 MB, free: 17.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.2045, allocations: 19.75 kB / 417 MB, free: 17.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.2045, allocations: 21.86 kB / 417 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2045, allocations: 4.141 kB / 417 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2045, allocations: 0 / 417 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2046, allocations: 3.984 kB / 417 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.2051, allocations: 0.5225 MB / 417.6 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2051, allocations: 0 / 417.6 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2053, allocations: 23.98 kB / 417.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.372e-05/0.2054, allocations: 36.78 kB / 417.6 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2054, allocations: 7.984 kB / 417.6 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000634/0.206, allocations: 1.355 MB / 419 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.206, allocations: 0 / 419 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.2089, allocations: 3.237 MB / 422.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.209, allocations: 104.8 kB / 422.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.209, allocations: 12.12 kB / 422.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2092, allocations: 19.97 kB / 422.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.2093, allocations: 19.97 kB / 422.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2093, allocations: 0 / 422.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.625e-05/0.2094, allocations: 136.3 kB / 422.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2094, allocations: 0 / 422.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.2098, allocations: 83.84 kB / 422.6 MB, free: 11.31 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 8.205e-05/0.2098, allocations: 107.2 kB / 422.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.2103, allocations: 261.4 kB / 423 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2103, allocations: 0 / 423 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.2105, allocations: 194.9 kB / 423.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2108, allocations: 38.34 kB / 423.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008011/0.2116, allocations: 0.8152 MB / 424 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2118, allocations: 0.7323 MB / 424.7 MB, free: 9.066 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.443e-05/0.2119, allocations: 21.53 kB / 424.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.2119, allocations: 15.44 kB / 424.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2119, allocations: 4 kB / 424.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of Templates: time 0.00468/0.2166, allocations: 2.748 MB / 427.5 MB, free: 6.305 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@2/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