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.001076/0.001076, allocations: 85.95 kB / 23 MB, free: 1.504 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.001227/0.001227, allocations: 176 kB / 26.4 MB, free: 8.152 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.9939/0.9939, allocations: 158.6 MB / 188.3 MB, free: 2.824 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 2.145e-06/2.145e-06, allocations: 0 / 252.2 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.878e-05/5.093e-05, allocations: 6.25 kB / 252.2 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003537/0.003588, allocations: 2.483 MB / 254.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.004666, allocations: 0.6397 MB / 255.4 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004791, allocations: 4 kB / 255.4 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.004935, allocations: 35.64 kB / 255.4 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.005059, allocations: 71.3 kB / 255.5 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.005318, allocations: 63.84 kB / 255.5 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.00558, allocations: 282.6 kB / 255.8 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.005754, allocations: 67.95 kB / 255.9 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.005907, allocations: 151.7 kB / 256 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.006028, allocations: 83.72 kB / 256.1 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.006058, allocations: 20 kB / 256.1 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.006124, allocations: 24 kB / 256.1 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.006167, allocations: 47.83 kB / 256.2 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.00623, allocations: 87.81 kB / 256.3 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.006477, allocations: 183.2 kB / 256.4 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.00648, allocations: 4 kB / 256.5 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006482, allocations: 0 / 256.5 MB, free: 3.031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.006487, allocations: 0 / 256.5 MB, free: 3.031 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.0006401/0.007127, allocations: 0.5508 MB / 257 MB, free: 2.445 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.007173, allocations: 11.98 kB / 257 MB, free: 2.434 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.007312, allocations: 52.69 kB / 257.1 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.007526, allocations: 176.1 kB / 257.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.007548, allocations: 16.88 kB / 257.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.007579, allocations: 24.38 kB / 257.3 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.007867, allocations: 219.3 kB / 257.5 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.007884, allocations: 192 / 257.5 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.007904, allocations: 12.38 kB / 257.5 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.007917, allocations: 7.938 kB / 257.5 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.008019, allocations: 65.44 kB / 257.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.008764, allocations: 0.7468 MB / 258.3 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.008954, allocations: 111.1 kB / 258.4 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.009001, allocations: 47.67 kB / 258.5 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.009012, allocations: 0 / 258.5 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.009037, allocations: 41.39 kB / 258.5 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 9.12e-07/0.009038, allocations: 0 / 258.5 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004202/0.009458, allocations: 180.8 kB / 258.7 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.009492, allocations: 55.41 kB / 258.7 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.009606, allocations: 206.5 kB / 259 MB, free: 340 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.009625, allocations: 37.64 kB / 259 MB, free: 296 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.009699, allocations: 199 kB / 259.2 MB, free: 92 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.009729, allocations: 55.53 kB / 259.2 MB, free: 36 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.009788, allocations: 43.36 kB / 259.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.00991, allocations: 0.5001 MB / 259.8 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.009943, allocations: 23.98 kB / 259.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.009993, allocations: 66.41 kB / 259.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.01008, allocations: 109.6 kB / 260 MB, free: 15.24 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01008, allocations: 4 kB / 260 MB, free: 15.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001838/0.01027, allocations: 157 kB / 260.1 MB, free: 15.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01028, allocations: 8.125 kB / 260.1 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01029, allocations: 4 kB / 260.1 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.01044, allocations: 23.67 kB / 260.2 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.01052, allocations: 31.98 kB / 260.2 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/0.01143, allocations: 1.776 MB / 262 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.0115, allocations: 23.92 kB / 262 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.01151, allocations: 4 kB / 262 MB, free: 13.07 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.0001035/0.01161, allocations: 172.5 kB / 262.2 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01164, allocations: 27.84 kB / 262.2 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.01167, allocations: 17.81 kB / 262.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.01167, allocations: 0 / 262.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.01168, allocations: 4 kB / 262.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01169, allocations: 0 / 262.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.01206, allocations: 405.4 kB / 262.6 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01206, allocations: 4 kB / 262.6 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.01214, allocations: 23.98 kB / 262.6 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.01224, allocations: 27.61 kB / 262.7 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.01225, allocations: 4 kB / 262.7 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008054/0.01305, allocations: 1.772 MB / 264.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01306, allocations: 3.938 kB / 264.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.0133, allocations: 299.4 kB / 264.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.01333, allocations: 23.88 kB / 264.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01335, allocations: 7.938 kB / 264.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.01343, allocations: 15.98 kB / 264.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.01348, allocations: 15.97 kB / 264.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01349, allocations: 11.94 kB / 264.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.177e-05/0.01355, allocations: 156.8 kB / 265 MB, free: 9.918 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01355, allocations: 0 / 265 MB, free: 9.918 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.01378, allocations: 67.88 kB / 265 MB, free: 9.852 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.0001091/0.01389, allocations: 103.2 kB / 265.1 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.01418, allocations: 256 kB / 265.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01418, allocations: 0 / 265.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.0143, allocations: 233.3 kB / 265.6 MB, free: 9.223 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.01454, allocations: 32.09 kB / 265.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.01523, allocations: 406.5 kB / 266 MB, free: 8.766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.01528, allocations: 79.98 kB / 266.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.01534, allocations: 13.48 kB / 266.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.01543, allocations: 98.19 kB / 266.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01544, allocations: 0 / 266.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of Templates: time 0.004574/0.02001, allocations: 2.684 MB / 268.9 MB, free: 5.898 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: 2.8298257403075695]