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.0008947/0.0008947, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009493/0.0009493, allocations: 164.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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.9084/0.9084, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.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.673e-06/1.673e-06, allocations: 0 / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.602e-05, allocations: 2.312 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003522/0.003538, allocations: 2.545 MB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.004667, allocations: 0.6932 MB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.004786, allocations: 4 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.004933, allocations: 35.64 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.005083, allocations: 79.28 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.005322, allocations: 59.91 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.005605, allocations: 274.6 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.005765, allocations: 78.56 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.005946, allocations: 151.6 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.006088, allocations: 83.77 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.006122, allocations: 20 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-05/0.006192, allocations: 28 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.006237, allocations: 51.77 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.006322, allocations: 87.81 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.006569, allocations: 179.3 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.006571, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006571, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006575, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.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.0005793/0.007154, allocations: 436.4 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.007189, allocations: 15.92 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.007311, allocations: 44.84 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.007505, allocations: 159 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.007523, allocations: 16.88 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.00756, allocations: 20.38 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.007832, allocations: 213.7 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.007843, allocations: 4.188 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.007863, allocations: 12.38 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.007872, allocations: 7.938 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.007997, allocations: 61.41 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.008803, allocations: 0.5729 MB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.00901, allocations: 98.45 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.009063, allocations: 36.84 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.009076, allocations: 4 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.009101, allocations: 38.56 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.009103, allocations: 0 / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003817/0.009485, allocations: 158.3 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.009511, allocations: 55.41 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.009615, allocations: 151.3 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.009637, allocations: 33.7 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.009705, allocations: 140.3 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.009746, allocations: 59.47 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.009804, allocations: 45.69 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.009893, allocations: 322.8 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.009932, allocations: 19.98 kB / 280.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.00999, allocations: 56.2 kB / 280.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.01009, allocations: 84.17 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.0101, allocations: 7.938 kB / 280.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001993/0.0103, allocations: 125.5 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01031, allocations: 4 kB / 280.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01032, allocations: 7.984 kB / 280.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.01047, allocations: 24.97 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01057, allocations: 35.92 kB / 280.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007717/0.01134, allocations: 1.214 MB / 281.9 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.427e-05/0.01143, allocations: 23.83 kB / 282 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01144, allocations: 8 kB / 282 MB, free: 8.152 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.336e-05/0.01152, allocations: 121.9 kB / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.01156, allocations: 15.92 kB / 282.1 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.01159, allocations: 25.75 kB / 282.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01159, allocations: 0 / 282.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.0116, allocations: 4 kB / 282.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.0116, allocations: 0 / 282.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.01198, allocations: 310 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01198, allocations: 0 / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.01207, allocations: 23.98 kB / 282.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-05/0.01216, allocations: 36.83 kB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01217, allocations: 0 / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006997/0.01287, allocations: 1.21 MB / 283.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01287, allocations: 3.984 kB / 283.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.01311, allocations: 228.1 kB / 283.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.01316, allocations: 27.91 kB / 284 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.01318, allocations: 11.92 kB / 284 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01329, allocations: 8 kB / 284 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.01334, allocations: 23.95 kB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.01334, allocations: 0 / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.006e-05/0.01338, allocations: 38.47 kB / 284 MB, free: 5.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01338, allocations: 0 / 284 MB, free: 5.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.01369, allocations: 63.84 kB / 284.1 MB, free: 5.871 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 0.0001035/0.01379, allocations: 92.34 kB / 284.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.01405, allocations: 197.9 kB / 284.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.01405, allocations: 0 / 284.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.01419, allocations: 167.3 kB / 284.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01441, allocations: 28.17 kB / 284.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.01515, allocations: 416.7 kB / 285 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.01521, allocations: 75.98 kB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.01527, allocations: 13.48 kB / 285.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01538, allocations: 79.34 kB / 285.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01538, allocations: 4 kB / 285.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of Templates: time 0.005389/0.02077, allocations: 2.546 MB / 287.7 MB, free: 2.227 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 -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.635546970181167]