Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009728/0.0009729, allocations: 184.3 kB / 16.71 MB, free: 4.973 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.247/1.247, allocations: 225.7 MB / 243.2 MB, free: 8.5 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.0007754/0.0007757, allocations: 99.61 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002275/0.0002277, allocations: 8 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.213, allocations: 50.41 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.001788/0.2148, allocations: 2.108 MB / 406.7 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.2156, allocations: 0.6946 MB / 407.4 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.2157, allocations: 4.75 kB / 407.4 MB, free: 28.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.2158, allocations: 27.83 kB / 407.4 MB, free: 28.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.2159, allocations: 61.25 kB / 407.5 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2161, allocations: 48.86 kB / 407.5 MB, free: 28.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.2163, allocations: 254.7 kB / 407.8 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.2165, allocations: 87.84 kB / 407.8 MB, free: 28.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.2165, allocations: 83.7 kB / 407.9 MB, free: 27.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.2166, allocations: 95.48 kB / 408 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2167, allocations: 8 kB / 408 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.2167, allocations: 27.98 kB / 408.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.2168, allocations: 31.84 kB / 408.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.2169, allocations: 140.3 kB / 408.2 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.2171, allocations: 236.6 kB / 408.5 MB, free: 27.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2171, allocations: 0 / 408.5 MB, free: 27.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2171, allocations: 0 / 408.5 MB, free: 27.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.2171, allocations: 0 / 408.5 MB, free: 27.43 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.0006749/0.2178, allocations: 0.5181 MB / 409 MB, free: 26.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.2178, allocations: 12.03 kB / 409 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.832e-05/0.2179, allocations: 24.66 kB / 409 MB, free: 26.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.2181, allocations: 242.5 kB / 409.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2181, allocations: 16.81 kB / 409.3 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.2181, allocations: 20.38 kB / 409.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.2185, allocations: 238.2 kB / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2185, allocations: 0 / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.2185, allocations: 4 kB / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2186, allocations: 11.94 kB / 409.5 MB, free: 26.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.2189, allocations: 173.6 kB / 409.7 MB, free: 26.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.2199, allocations: 0.8244 MB / 410.5 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.2203, allocations: 170.5 kB / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2204, allocations: 80.83 kB / 410.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.2205, allocations: 4 kB / 410.8 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2205, allocations: 30.56 kB / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.2205, allocations: 0 / 410.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007276/0.2212, allocations: 367.6 kB / 411.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.2212, allocations: 55.39 kB / 411.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2214, allocations: 164.6 kB / 411.4 MB, free: 24.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2214, allocations: 33.7 kB / 411.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2214, allocations: 144.1 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.2215, allocations: 59.27 kB / 411.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.2215, allocations: 4 kB / 411.6 MB, free: 24.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.2215, allocations: 330.8 kB / 411.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2217, allocations: 55.97 kB / 412 MB, free: 23.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2218, allocations: 101.3 kB / 412.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.2221, allocations: 148.2 kB / 412.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2221, allocations: 4 kB / 412.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003867/0.2225, allocations: 230 kB / 412.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2225, allocations: 12.06 kB / 412.5 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2225, allocations: 7.938 kB / 412.5 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.2227, allocations: 32.84 kB / 412.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2228, allocations: 39.91 kB / 412.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000761/0.2236, allocations: 1.366 MB / 413.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.2238, allocations: 31.81 kB / 413.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2238, allocations: 20.05 kB / 414 MB, free: 21.48 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 9.073e-05/0.2239, allocations: 133.7 kB / 414.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.224, allocations: 15.81 kB / 414.1 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.224, allocations: 21.88 kB / 414.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.224, allocations: 0 / 414.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.224, allocations: 0 / 414.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.224, allocations: 7.984 kB / 414.1 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.2246, allocations: 0.5226 MB / 414.7 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2246, allocations: 4 kB / 414.7 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2248, allocations: 31.92 kB / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-05/0.2249, allocations: 40.95 kB / 414.7 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2249, allocations: 11.94 kB / 414.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006308/0.2255, allocations: 1.358 MB / 416.1 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2256, allocations: 0 / 416.1 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.2261, allocations: 364.1 kB / 416.5 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.2261, allocations: 104.8 kB / 416.6 MB, free: 18.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.2261, allocations: 8 kB / 416.6 MB, free: 18.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2263, allocations: 24.03 kB / 416.6 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2264, allocations: 23.97 kB / 416.6 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2264, allocations: 7.938 kB / 416.6 MB, free: 18.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.2265, allocations: 126.4 kB / 416.8 MB, free: 18.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2265, allocations: 0 / 416.8 MB, free: 18.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.2268, allocations: 59.84 kB / 416.8 MB, free: 18.39 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.756e-05/0.2269, allocations: 107.2 kB / 416.9 MB, free: 18.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.2273, allocations: 274.4 kB / 417.2 MB, free: 18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2273, allocations: 0 / 417.2 MB, free: 18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.2276, allocations: 202.8 kB / 417.4 MB, free: 17.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2279, allocations: 28.06 kB / 417.4 MB, free: 17.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.2286, allocations: 0.5759 MB / 418 MB, free: 17.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2288, allocations: 0.7401 MB / 418.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.834e-05/0.2289, allocations: 17.55 kB / 418.7 MB, free: 16.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.229, allocations: 15.44 kB / 418.8 MB, free: 16.36 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.229, allocations: 0 / 418.8 MB, free: 16.36 MB / 298.7 MB Notification: Performance of Templates: time 0.00463/0.2336, allocations: 2.186 MB / 420.9 MB, free: 14.18 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches