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.001088/0.001088, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001251/0.001251, allocations: 167.8 kB / 25.33 MB, free: 9.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.9634/0.9634, allocations: 158.6 MB / 187.2 MB, free: 2.559 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.914e-06/1.914e-06, allocations: 0 / 251 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.038e-05, allocations: 6.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.006474/0.006504, allocations: 2.501 MB / 253.5 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.01059, allocations: 0.6397 MB / 254.2 MB, free: 460 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.01073, allocations: 4 kB / 254.2 MB, free: 456 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.01088, allocations: 35.64 kB / 254.2 MB, free: 420 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.01102, allocations: 79.28 kB / 254.3 MB, free: 340 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.0113, allocations: 63.84 kB / 254.3 MB, free: 276 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.01157, allocations: 274.6 kB / 254.6 MB, free: 0 / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.01177, allocations: 71.95 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.01194, allocations: 147.7 kB / 254.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.01208, allocations: 83.77 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.01211, allocations: 20 kB / 254.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.01219, allocations: 28 kB / 255 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.01223, allocations: 55.75 kB / 255 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.01231, allocations: 83.83 kB / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.01257, allocations: 183.2 kB / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01258, allocations: 0 / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01258, allocations: 0 / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.01258, allocations: 0 / 255.3 MB, free: 15.34 MB / 250.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.003711/0.0163, allocations: 0.5547 MB / 255.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.01635, allocations: 15.97 kB / 255.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.0165, allocations: 44.73 kB / 255.9 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.01675, allocations: 176.6 kB / 256.1 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.01677, allocations: 16.88 kB / 256.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.01681, allocations: 20.38 kB / 256.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.01716, allocations: 235.3 kB / 256.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01717, allocations: 4.188 kB / 256.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.01719, allocations: 8.375 kB / 256.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.0172, allocations: 7.938 kB / 256.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.01738, allocations: 82.94 kB / 256.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.01836, allocations: 0.7775 MB / 257.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.01863, allocations: 123.1 kB / 257.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.01871, allocations: 51.59 kB / 257.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.01872, allocations: 4 kB / 257.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.01875, allocations: 41.39 kB / 257.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.01875, allocations: 0 / 257.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.001597/0.02035, allocations: 195.4 kB / 257.6 MB, free: 12.83 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.02038, allocations: 55.41 kB / 257.7 MB, free: 12.76 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.02052, allocations: 210.6 kB / 257.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.02054, allocations: 25.7 kB / 257.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/0.02064, allocations: 199 kB / 258.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.02068, allocations: 51.55 kB / 258.1 MB, free: 12.26 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.02074, allocations: 47.36 kB / 258.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.02087, allocations: 0.4923 MB / 258.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.02093, allocations: 23.98 kB / 258.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.02103, allocations: 82.34 kB / 258.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.02117, allocations: 114.3 kB / 258.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.02117, allocations: 0 / 258.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002637/0.02143, allocations: 172.9 kB / 259.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.02145, allocations: 14.48 kB / 259.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.02146, allocations: 0 / 259.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.02166, allocations: 35.8 kB / 259.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.02177, allocations: 35.92 kB / 259.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.02278, allocations: 1.787 MB / 260.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.02287, allocations: 27.88 kB / 261 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.02288, allocations: 4 kB / 261 MB, free: 9.227 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.0004549/0.02333, allocations: 172.7 kB / 261.1 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.02338, allocations: 23.83 kB / 261.2 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.02341, allocations: 21.81 kB / 261.2 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.02341, allocations: 4 kB / 261.2 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.02342, allocations: 0 / 261.2 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02342, allocations: 3.984 kB / 261.2 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.0239, allocations: 440.9 kB / 261.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0239, allocations: 0 / 261.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.02401, allocations: 19.98 kB / 261.6 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.02412, allocations: 47.59 kB / 261.7 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.02413, allocations: 0 / 261.7 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009379/0.02507, allocations: 1.799 MB / 263.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.02507, allocations: 4 kB / 263.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.02539, allocations: 311.4 kB / 263.8 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.02544, allocations: 24.03 kB / 263.8 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.02546, allocations: 12 kB / 263.8 MB, free: 6.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.02557, allocations: 15.97 kB / 263.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.02563, allocations: 19.97 kB / 263.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.02564, allocations: 0 / 263.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.667e-05/0.02572, allocations: 160.8 kB / 264 MB, free: 5.969 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02572, allocations: 0 / 264 MB, free: 5.969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.02604, allocations: 67.78 kB / 264.1 MB, free: 5.902 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.000115/0.02616, allocations: 107.2 kB / 264.2 MB, free: 5.789 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.02653, allocations: 272.5 kB / 264.5 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02653, allocations: 0 / 264.5 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.02669, allocations: 236.9 kB / 264.7 MB, free: 5.254 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.027, allocations: 20 kB / 264.7 MB, free: 5.234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.02798, allocations: 422.5 kB / 265.1 MB, free: 4.793 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.18e-05/0.02805, allocations: 75.98 kB / 265.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.545e-05/0.02811, allocations: 17.47 kB / 265.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.02816, allocations: 16.5 kB / 265.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02816, allocations: 0 / 265.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of Templates: time 0.005465/0.03363, allocations: 2.434 MB / 267.7 MB, free: 2.258 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 -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: 3.0127436378970742]