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.0009394/0.0009394, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002399, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007798/0.0007798, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001213/0.001992, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.092/1.092, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1922/1.285, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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 2.955e-06/2.955e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.712e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005364/0.005392, allocations: 2.542 MB / 224.5 MB, free: 13.51 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.006955, allocations: 0.659 MB / 225.2 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.007104, allocations: 4 kB / 225.2 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.007235, allocations: 35.64 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.007414, allocations: 71.28 kB / 225.3 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.007659, allocations: 71.84 kB / 225.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.008029, allocations: 270.7 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.008254, allocations: 74.52 kB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.008558, allocations: 167.7 kB / 225.9 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.008746, allocations: 83.72 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.008791, allocations: 20 kB / 226 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.008908, allocations: 31.97 kB / 226 MB, free: 12.03 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.008956, allocations: 35.88 kB / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.009043, allocations: 67.88 kB / 226.1 MB, free: 11.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.009357, allocations: 163.3 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.009372, allocations: 8 kB / 226.3 MB, free: 11.76 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.009373, allocations: 0 / 226.3 MB, free: 11.76 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.009395, allocations: 0 / 226.3 MB, free: 11.76 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.0008796/0.01027, allocations: 487.9 kB / 226.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.01032, allocations: 12.03 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.01054, allocations: 118 kB / 226.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.0108, allocations: 153.4 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.01082, allocations: 12.88 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.01086, allocations: 20.38 kB / 227 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.0112, allocations: 217.6 kB / 227.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01121, allocations: 4.188 kB / 227.3 MB, free: 10.67 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.01123, allocations: 8.375 kB / 227.3 MB, free: 10.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.01125, allocations: 7.938 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.01138, allocations: 57.47 kB / 227.3 MB, free: 10.6 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.0121, allocations: 0.5845 MB / 227.9 MB, free: 9.98 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.01228, allocations: 94.53 kB / 228 MB, free: 9.879 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.01233, allocations: 36.84 kB / 228 MB, free: 9.84 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.01234, allocations: 4 kB / 228 MB, free: 9.836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.01237, allocations: 38.5 kB / 228.1 MB, free: 9.789 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.01237, allocations: 4 kB / 228.1 MB, free: 9.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003477/0.01272, allocations: 144.4 kB / 228.2 MB, free: 9.637 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.01275, allocations: 63.34 kB / 228.3 MB, free: 9.562 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.01285, allocations: 151.3 kB / 228.4 MB, free: 9.402 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.01287, allocations: 33.7 kB / 228.5 MB, free: 9.363 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.01294, allocations: 148.3 kB / 228.6 MB, free: 9.215 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.01297, allocations: 55.47 kB / 228.7 MB, free: 9.16 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.01302, allocations: 45.69 kB / 228.7 MB, free: 9.109 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.01312, allocations: 330.7 kB / 229 MB, free: 8.777 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.01314, allocations: 15.98 kB / 229 MB, free: 8.762 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.01319, allocations: 52.27 kB / 229.1 MB, free: 8.695 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.01329, allocations: 88.08 kB / 229.2 MB, free: 8.594 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01329, allocations: 3.938 kB / 229.2 MB, free: 8.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001583/0.01345, allocations: 133 kB / 229.3 MB, free: 8.453 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01346, allocations: 4 kB / 229.3 MB, free: 8.449 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01347, allocations: 4 kB / 229.3 MB, free: 8.445 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.01365, allocations: 32.77 kB / 229.4 MB, free: 8.41 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01377, allocations: 35.98 kB / 229.4 MB, free: 8.375 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.01487, allocations: 1.229 MB / 230.6 MB, free: 7.059 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.01494, allocations: 15.95 kB / 230.6 MB, free: 7.043 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.01495, allocations: 7.984 kB / 230.6 MB, free: 7.035 MB / 234.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 8.483e-05/0.01504, allocations: 125.7 kB / 230.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.01506, allocations: 11.98 kB / 230.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.01508, allocations: 29.73 kB / 230.8 MB, free: 6.863 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01509, allocations: 8.031 kB / 230.8 MB, free: 6.855 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01509, allocations: 0 / 230.8 MB, free: 6.855 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01509, allocations: 0 / 230.8 MB, free: 6.855 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.01539, allocations: 307.4 kB / 231.1 MB, free: 6.527 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01539, allocations: 0 / 231.1 MB, free: 6.527 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/0.01548, allocations: 27.98 kB / 231.1 MB, free: 6.5 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.01552, allocations: 15.91 kB / 231.2 MB, free: 6.484 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.356e-05/0.01561, allocations: 32.81 kB / 231.2 MB, free: 6.449 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01562, allocations: 0 / 231.2 MB, free: 6.449 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006374/0.01626, allocations: 1.214 MB / 232.4 MB, free: 5.148 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01626, allocations: 4 kB / 232.4 MB, free: 5.145 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.01646, allocations: 228.8 kB / 232.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.01647, allocations: 11.98 kB / 232.6 MB, free: 4.891 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.01654, allocations: 8 kB / 232.7 MB, free: 4.883 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.01659, allocations: 24.02 kB / 232.7 MB, free: 4.859 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.0166, allocations: 7.938 kB / 232.7 MB, free: 4.852 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.01663, allocations: 38.45 kB / 232.7 MB, free: 4.812 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01663, allocations: 0 / 232.7 MB, free: 4.812 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.01681, allocations: 59.89 kB / 232.8 MB, free: 4.754 MB / 234.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.427e-05/0.01691, allocations: 88.34 kB / 232.9 MB, free: 4.66 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.01715, allocations: 202 kB / 233.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.01716, allocations: 4 kB / 233.1 MB, free: 4.449 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.01727, allocations: 171.3 kB / 233.2 MB, free: 4.266 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.01755, allocations: 287.3 kB / 233.5 MB, free: 3.93 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.01998, allocations: 400.5 kB / 233.9 MB, free: 3.504 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.858e-05/0.02004, allocations: 75.98 kB / 234 MB, free: 3.41 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.098e-05/0.0201, allocations: 21.47 kB / 234 MB, free: 3.391 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.02021, allocations: 87.22 kB / 234.1 MB, free: 3.305 MB / 234.7 MB Notification: Performance of SimCode: time 1.433e-06/0.02021, allocations: 0 / 234.1 MB, free: 3.305 MB / 234.7 MB Notification: Performance of Templates: time 0.004881/0.02509, allocations: 2.669 MB / 236.8 MB, free: 0.6484 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.875667855143547]