Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 166.8 kB / 25.69 MB, free: 8.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9423/0.9423, allocations: 158.6 MB / 187.6 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.022e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002823/0.002843, allocations: 2.534 MB / 254.1 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003855, allocations: 0.655 MB / 254.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.003974, allocations: 4 kB / 254.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.004092, allocations: 43.64 kB / 254.8 MB, free: 3.988 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.004217, allocations: 71.28 kB / 254.8 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.004429, allocations: 63.84 kB / 254.9 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.004656, allocations: 278.6 kB / 255.2 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.004793, allocations: 74.58 kB / 255.3 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.00495, allocations: 147.7 kB / 255.4 MB, free: 3.367 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.005093, allocations: 83.77 kB / 255.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.005133, allocations: 24 kB / 255.5 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.005222, allocations: 24 kB / 255.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.005264, allocations: 55.77 kB / 255.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.005342, allocations: 79.83 kB / 255.7 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.005591, allocations: 175.4 kB / 255.8 MB, free: 2.934 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005593, allocations: 0 / 255.8 MB, free: 2.934 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005594, allocations: 0 / 255.8 MB, free: 2.934 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.005598, allocations: 4 kB / 255.8 MB, free: 2.93 MB / 234.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.0005739/0.006172, allocations: 444.2 kB / 256.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.00621, allocations: 11.98 kB / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.006352, allocations: 48.78 kB / 256.3 MB, free: 2.414 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.006552, allocations: 153.3 kB / 256.5 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.006571, allocations: 16.88 kB / 256.5 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.006604, allocations: 20.38 kB / 256.5 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.006876, allocations: 221.7 kB / 256.7 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.006889, allocations: 192 / 256.7 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.007059, allocations: 8.375 kB / 256.7 MB, free: 1.953 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.00707, allocations: 7.938 kB / 256.7 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.007188, allocations: 61.41 kB / 256.8 MB, free: 1.887 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.007982, allocations: 0.5728 MB / 257.4 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.008189, allocations: 106.2 kB / 257.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.00824, allocations: 32.83 kB / 257.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.008252, allocations: 4 kB / 257.5 MB, free: 1.125 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.008279, allocations: 34.56 kB / 257.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.008281, allocations: 4 kB / 257.6 MB, free: 1.078 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003815/0.008662, allocations: 146.3 kB / 257.7 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.008692, allocations: 59.34 kB / 257.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.008807, allocations: 155.3 kB / 257.9 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.008827, allocations: 33.7 kB / 257.9 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.008895, allocations: 140.3 kB / 258.1 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.008934, allocations: 59.47 kB / 258.1 MB, free: 464 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.008996, allocations: 41.69 kB / 258.2 MB, free: 416 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.009095, allocations: 330.7 kB / 258.5 MB, free: 76 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.009133, allocations: 12 kB / 258.5 MB, free: 64 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.009202, allocations: 52.36 kB / 258.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.975e-05/0.009302, allocations: 95.98 kB / 258.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.009307, allocations: 3.938 kB / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002087/0.009516, allocations: 129.6 kB / 258.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.009533, allocations: 8 kB / 258.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.009539, allocations: 128 / 258.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.0097, allocations: 32.83 kB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.009821, allocations: 35.92 kB / 258.9 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008303/0.01065, allocations: 1.225 MB / 260.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.01073, allocations: 15.89 kB / 260.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01074, allocations: 12.03 kB / 260.1 MB, free: 14.33 MB / 250.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 0.0001127/0.01086, allocations: 129.9 kB / 260.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.01089, allocations: 12 kB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.01093, allocations: 25.73 kB / 260.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01093, allocations: 0 / 260.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.01094, allocations: 4 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01095, allocations: 0 / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.01133, allocations: 303.4 kB / 260.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01133, allocations: 0 / 260.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.01145, allocations: 31.98 kB / 260.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.674e-05/0.01154, allocations: 28.83 kB / 260.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01156, allocations: 4 kB / 260.6 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006976/0.01225, allocations: 1.198 MB / 261.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01226, allocations: 3.938 kB / 261.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.01248, allocations: 236 kB / 262.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.01253, allocations: 31.75 kB / 262.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.01255, allocations: 4 kB / 262.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.01264, allocations: 12 kB / 262.1 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.01269, allocations: 15.95 kB / 262.1 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.01271, allocations: 12 kB / 262.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.924e-05/0.01275, allocations: 38.45 kB / 262.2 MB, free: 12.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01275, allocations: 0 / 262.2 MB, free: 12.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000266/0.01301, allocations: 63.84 kB / 262.3 MB, free: 12.05 MB / 250.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 0.0001007/0.01311, allocations: 88.38 kB / 262.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.01336, allocations: 194.3 kB / 262.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.01337, allocations: 0 / 262.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01348, allocations: 163.3 kB / 262.7 MB, free: 11.58 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.0137, allocations: 28.23 kB / 262.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.01446, allocations: 412.6 kB / 263.1 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.397e-05/0.01452, allocations: 83.97 kB / 263.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.01458, allocations: 13.48 kB / 263.2 MB, free: 11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.01468, allocations: 87.34 kB / 263.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01468, allocations: 3.938 kB / 263.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of Templates: time 0.005508/0.02019, allocations: 2.584 MB / 265.9 MB, free: 8.359 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.818430915940553]