Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 76.08 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.042/1.042, allocations: 173.3 MB / 201.1 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.714e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002982/0.003009, allocations: 2.544 MB / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.003978, allocations: 0.631 MB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004091, allocations: 4 kB / 271.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.004228, allocations: 43.64 kB / 271.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.004338, allocations: 71.28 kB / 271.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.004579, allocations: 71.72 kB / 271.3 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.004811, allocations: 278.6 kB / 271.6 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.00497, allocations: 71.89 kB / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.005108, allocations: 147.7 kB / 271.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.005218, allocations: 79.72 kB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.005248, allocations: 28 kB / 271.9 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.005311, allocations: 20 kB / 271.9 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.005345, allocations: 51.83 kB / 272 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.005409, allocations: 83.81 kB / 272.1 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.005634, allocations: 187.2 kB / 272.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005637, allocations: 0 / 272.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005637, allocations: 0 / 272.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005642, allocations: 0 / 272.3 MB, free: 2.125 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.0005846/0.006227, allocations: 0.5508 MB / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.006264, allocations: 8.031 kB / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.006393, allocations: 44.73 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.006616, allocations: 180.8 kB / 273 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.006632, allocations: 16.88 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.006668, allocations: 20.38 kB / 273.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.006959, allocations: 235.3 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.006971, allocations: 4.188 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.006987, allocations: 4.375 kB / 273.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.006996, allocations: 7.938 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.007133, allocations: 82.94 kB / 273.4 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.007957, allocations: 0.7813 MB / 274.2 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.008205, allocations: 119.1 kB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.008271, allocations: 59.58 kB / 274.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.008284, allocations: 4 kB / 274.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.008307, allocations: 37.39 kB / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.008309, allocations: 0 / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004169/0.008726, allocations: 189.1 kB / 274.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.00875, allocations: 51.41 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.008895, allocations: 218.5 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.008912, allocations: 29.7 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.008989, allocations: 195 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.009021, allocations: 59.61 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.009069, allocations: 43.36 kB / 275.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.009251, allocations: 0.4962 MB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.009296, allocations: 23.98 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.009363, allocations: 85.34 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.009475, allocations: 109.2 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.009478, allocations: 0 / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002046/0.009683, allocations: 173 kB / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.009696, allocations: 4 kB / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.009701, allocations: 4.125 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.009871, allocations: 35.66 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.009951, allocations: 35.92 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009877/0.01094, allocations: 1.795 MB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.011, allocations: 19.89 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.01101, allocations: 8.031 kB / 277.9 MB, free: 12.03 MB / 266.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.503e-05/0.0111, allocations: 172.5 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.01113, allocations: 23.98 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.01116, allocations: 25.8 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01116, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01116, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01116, allocations: 3.984 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.01152, allocations: 440.9 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01152, allocations: 0 / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.0116, allocations: 35.92 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.461e-05/0.01169, allocations: 31.66 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.01169, allocations: 0 / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007281/0.01242, allocations: 1.81 MB / 280.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01242, allocations: 0 / 280.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.01268, allocations: 330.7 kB / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.01272, allocations: 19.89 kB / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.01273, allocations: 8 kB / 280.8 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.01281, allocations: 11.98 kB / 280.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.01286, allocations: 16.11 kB / 280.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.01287, allocations: 7.984 kB / 280.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.0132, allocations: 160.8 kB / 281 MB, free: 8.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0132, allocations: 0 / 281 MB, free: 8.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.01342, allocations: 59.83 kB / 281.1 MB, free: 8.688 MB / 266.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.049e-05/0.01351, allocations: 103.3 kB / 281.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.01381, allocations: 280.7 kB / 281.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01381, allocations: 0 / 281.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.01394, allocations: 221.5 kB / 281.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.01416, allocations: 34.52 kB / 281.7 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.01493, allocations: 422.2 kB / 282.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.01498, allocations: 79.98 kB / 282.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.01502, allocations: 13.47 kB / 282.2 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.01507, allocations: 20.5 kB / 282.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01507, allocations: 0 / 282.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of Templates: time 0.008114/0.02318, allocations: 2.414 MB / 284.6 MB, free: 5.066 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.127389939967543]