Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008577/0.0008577, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.00191, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007255/0.0007255, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000905/0.00163, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.933/0.933, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09675/1.03, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.886e-05, allocations: 2.312 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002673/0.002692, allocations: 2.597 MB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000973/0.003665, allocations: 0.6931 MB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003771, allocations: 11.94 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.794e-05/0.003849, allocations: 35.64 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.003952, allocations: 75.28 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.004093, allocations: 63.84 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.004307, allocations: 278.6 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.004437, allocations: 82.56 kB / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.004602, allocations: 155.7 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.004706, allocations: 87.77 kB / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.004733, allocations: 20 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.922e-05/0.004812, allocations: 31.94 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.004839, allocations: 35.88 kB / 249.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.004894, allocations: 67.88 kB / 249.2 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.005095, allocations: 163.4 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.005109, allocations: 0 / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00511, allocations: 0 / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.005128, allocations: 0 / 249.4 MB, free: 9.277 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.0005604/0.005688, allocations: 495.9 kB / 249.9 MB, free: 8.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.005717, allocations: 8.031 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.005853, allocations: 118 kB / 250 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.006014, allocations: 149.5 kB / 250.1 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.00603, allocations: 16.81 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.006057, allocations: 24.38 kB / 250.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.006271, allocations: 217.7 kB / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.006282, allocations: 192 / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.006297, allocations: 12.38 kB / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.006305, allocations: 7.938 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.006393, allocations: 57.47 kB / 250.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.007011, allocations: 0.5728 MB / 251 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.007178, allocations: 106.4 kB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.007216, allocations: 40.78 kB / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.007225, allocations: 0 / 251.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.007243, allocations: 34.56 kB / 251.2 MB, free: 7.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.007245, allocations: 0 / 251.2 MB, free: 7.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003067/0.007551, allocations: 158.3 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.007574, allocations: 51.41 kB / 251.4 MB, free: 7.078 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.007657, allocations: 159.3 kB / 251.6 MB, free: 6.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.007674, allocations: 29.7 kB / 251.6 MB, free: 6.871 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.007729, allocations: 144.3 kB / 251.7 MB, free: 6.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.007764, allocations: 59.47 kB / 251.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.007805, allocations: 41.69 kB / 251.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.007876, allocations: 330.8 kB / 252.2 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.007902, allocations: 23.98 kB / 252.2 MB, free: 6.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.007943, allocations: 52.27 kB / 252.2 MB, free: 6.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/0.008021, allocations: 83.45 kB / 252.3 MB, free: 6.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.008025, allocations: 7.875 kB / 252.3 MB, free: 6.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001474/0.008173, allocations: 134.3 kB / 252.4 MB, free: 5.957 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.008185, allocations: 8.125 kB / 252.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.00819, allocations: 0 / 252.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.008318, allocations: 28.84 kB / 252.5 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.008439, allocations: 39.95 kB / 252.5 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006436/0.009083, allocations: 1.218 MB / 253.7 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.00914, allocations: 27.91 kB / 253.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.009146, allocations: 4 kB / 253.8 MB, free: 4.547 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 6.633e-05/0.009212, allocations: 117.8 kB / 253.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.009234, allocations: 11.98 kB / 253.9 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.009259, allocations: 25.75 kB / 253.9 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.00926, allocations: 0 / 253.9 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.009265, allocations: 7.984 kB / 253.9 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.009268, allocations: 0 / 253.9 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.009536, allocations: 306.7 kB / 254.2 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009538, allocations: 8 kB / 254.2 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.009625, allocations: 27.92 kB / 254.3 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.009658, allocations: 19.84 kB / 254.3 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.009736, allocations: 36.94 kB / 254.3 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.009742, allocations: 3.938 kB / 254.3 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005143/0.01026, allocations: 1.21 MB / 255.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01026, allocations: 0 / 255.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.01043, allocations: 228.2 kB / 255.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.01045, allocations: 4 kB / 255.8 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.01051, allocations: 11.98 kB / 255.8 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.01055, allocations: 19.97 kB / 255.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.01056, allocations: 0 / 255.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.207e-05/0.01059, allocations: 45.5 kB / 255.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01059, allocations: 0 / 255.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.01075, allocations: 63.95 kB / 255.9 MB, free: 2.273 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 7.786e-05/0.01083, allocations: 84.36 kB / 256 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01104, allocations: 205.2 kB / 256.2 MB, free: 1.973 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.01104, allocations: 4 kB / 256.2 MB, free: 1.969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.01113, allocations: 159.4 kB / 256.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.0113, allocations: 47.5 kB / 256.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.0136, allocations: 412.6 kB / 256.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.01365, allocations: 83.97 kB / 256.9 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.791e-05/0.0137, allocations: 13.48 kB / 256.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.01377, allocations: 75.36 kB / 257 MB, free: 1.129 MB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01377, allocations: 0 / 257 MB, free: 1.129 MB / 250.7 MB Notification: Performance of Templates: time 0.004233/0.01801, allocations: 2.711 MB / 259.7 MB, free: 14.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.521061279810965]