Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001001/0.001001, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002439, allocations: 449.7 kB / 10.37 MB, free: 328 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.001031/0.001031, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.00235, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/1.13, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.202e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003795/0.003827, allocations: 2.593 MB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.00525, allocations: 0.6853 MB / 247.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.005428, allocations: 4 kB / 247.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.00556, allocations: 43.58 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.005735, allocations: 71.34 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.005971, allocations: 71.72 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.006302, allocations: 274.7 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.006482, allocations: 71.14 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.006735, allocations: 167.6 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006881, allocations: 83.78 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.006917, allocations: 20 kB / 248.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.007023, allocations: 24 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.007064, allocations: 39.81 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.007146, allocations: 67.88 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.007463, allocations: 171.4 kB / 248.9 MB, free: 9.941 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.82e-05/0.007481, allocations: 0 / 248.9 MB, free: 9.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007482, allocations: 4 kB / 248.9 MB, free: 9.938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.007503, allocations: 0 / 248.9 MB, free: 9.938 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.0007942/0.008297, allocations: 484 kB / 249.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.008334, allocations: 19.97 kB / 249.4 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.00865, allocations: 118 kB / 249.5 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.008867, allocations: 145.5 kB / 249.6 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.008888, allocations: 16.88 kB / 249.6 MB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.008921, allocations: 20.38 kB / 249.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.009228, allocations: 217.6 kB / 249.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.009241, allocations: 192 / 249.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.00926, allocations: 12.38 kB / 249.9 MB, free: 8.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.00927, allocations: 7.938 kB / 249.9 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.009398, allocations: 61.47 kB / 250 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008897/0.01029, allocations: 0.5767 MB / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.0105, allocations: 94.53 kB / 250.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.01056, allocations: 44.83 kB / 250.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.01057, allocations: 4 kB / 250.7 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.0106, allocations: 34.5 kB / 250.7 MB, free: 7.969 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.0106, allocations: 0 / 250.7 MB, free: 7.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004052/0.01101, allocations: 149.9 kB / 250.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.01103, allocations: 59.34 kB / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.01115, allocations: 160 kB / 251.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.01118, allocations: 37.7 kB / 251.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.01125, allocations: 136.3 kB / 251.2 MB, free: 7.395 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.0113, allocations: 59.47 kB / 251.3 MB, free: 7.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.01136, allocations: 41.69 kB / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.01145, allocations: 326.8 kB / 251.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.01148, allocations: 16 kB / 251.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.01154, allocations: 52.27 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.01165, allocations: 91.77 kB / 251.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.01165, allocations: 7.938 kB / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002174/0.01187, allocations: 126.3 kB / 251.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01189, allocations: 4 kB / 252 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.0119, allocations: 4 kB / 252 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.01207, allocations: 32.77 kB / 252 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.01224, allocations: 44.11 kB / 252 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.0134, allocations: 1.214 MB / 253.2 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.01349, allocations: 23.83 kB / 253.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.01351, allocations: 4 kB / 253.3 MB, free: 5.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 8.92e-05/0.01359, allocations: 125.8 kB / 253.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.01363, allocations: 16.03 kB / 253.4 MB, free: 5.078 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.01366, allocations: 25.73 kB / 253.4 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01367, allocations: 4 kB / 253.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01367, allocations: 0 / 253.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01368, allocations: 0 / 253.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.01407, allocations: 311.3 kB / 253.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01407, allocations: 0 / 253.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.0142, allocations: 27.98 kB / 253.8 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.01425, allocations: 19.83 kB / 253.8 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.01436, allocations: 28.84 kB / 253.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01437, allocations: 0 / 253.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007582/0.01513, allocations: 1.218 MB / 255 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01513, allocations: 0 / 255 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.01538, allocations: 228.2 kB / 255.3 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.0154, allocations: 8 kB / 255.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.01551, allocations: 12.06 kB / 255.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.01556, allocations: 19.95 kB / 255.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01557, allocations: 7.938 kB / 255.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.01562, allocations: 37.75 kB / 255.3 MB, free: 3.008 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01562, allocations: 0 / 255.3 MB, free: 3.008 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000293/0.01591, allocations: 59.89 kB / 255.4 MB, free: 2.949 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.0001178/0.01603, allocations: 88.34 kB / 255.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.01631, allocations: 205 kB / 255.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.01632, allocations: 4 kB / 255.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01646, allocations: 166.9 kB / 255.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01671, allocations: 47.97 kB / 255.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.02055, allocations: 416.5 kB / 256.3 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.02061, allocations: 79.98 kB / 256.4 MB, free: 1.879 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.874e-05/0.02069, allocations: 17.48 kB / 256.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.02081, allocations: 75.36 kB / 256.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02081, allocations: 0 / 256.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of Templates: time 0.005967/0.02678, allocations: 2.699 MB / 259.2 MB, free: 15.13 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.606901607476175]