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.001156/0.001156, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001258/0.001258, allocations: 163 kB / 25.61 MB, free: 8.582 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.9726/0.9726, allocations: 177 MB / 205.9 MB, free: 4.41 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.242e-06/1.242e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.871e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002757/0.002776, allocations: 2.556 MB / 276.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.00389, allocations: 0.6585 MB / 277.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004011, allocations: 7.938 kB / 277.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.004142, allocations: 32.59 kB / 277.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.004252, allocations: 82.05 kB / 277.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.004462, allocations: 59.91 kB / 277.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.004684, allocations: 278.6 kB / 277.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.004829, allocations: 67.95 kB / 277.8 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.004981, allocations: 147.7 kB / 278 MB, free: 404 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.005092, allocations: 88.86 kB / 278.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.00512, allocations: 20 kB / 278.1 MB, free: 296 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.005182, allocations: 27.98 kB / 278.1 MB, free: 268 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.005218, allocations: 52.95 kB / 278.1 MB, free: 216 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.005279, allocations: 79.83 kB / 278.2 MB, free: 136 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.00551, allocations: 179.5 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005514, allocations: 4.688 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005514, allocations: 0 / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.005518, allocations: 4 kB / 278.4 MB, free: 15.95 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.0006532/0.006172, allocations: 0.5507 MB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.006203, allocations: 8.031 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.006315, allocations: 48.73 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.00649, allocations: 176.2 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.006506, allocations: 16.88 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.006533, allocations: 20.38 kB / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.006754, allocations: 215.4 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006765, allocations: 192 / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.00678, allocations: 12.38 kB / 279.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.006787, allocations: 7.938 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.00688, allocations: 69.38 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.007575, allocations: 0.7585 MB / 280.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.007747, allocations: 114.9 kB / 280.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.007789, allocations: 35.66 kB / 280.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.007802, allocations: 4 kB / 280.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.007829, allocations: 41.39 kB / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.00783, allocations: 4 kB / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003543/0.008185, allocations: 180.9 kB / 280.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.008213, allocations: 55.41 kB / 280.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.008312, allocations: 208.2 kB / 280.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.00833, allocations: 29.7 kB / 280.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.008419, allocations: 199 kB / 281.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.008453, allocations: 59.47 kB / 281.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.0085, allocations: 51.34 kB / 281.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.008613, allocations: 0.4962 MB / 281.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.008644, allocations: 19.98 kB / 281.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.008698, allocations: 77.33 kB / 281.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.008785, allocations: 98.28 kB / 281.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.008787, allocations: 0 / 281.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004485/0.009235, allocations: 163.2 kB / 282.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.00925, allocations: 4 kB / 282.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009256, allocations: 0 / 282.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.0094, allocations: 39.66 kB / 282.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.009484, allocations: 35.92 kB / 282.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007993/0.01028, allocations: 1.772 MB / 283.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.01036, allocations: 19.88 kB / 284 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.01037, allocations: 8 kB / 284 MB, free: 9.996 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.6e-05/0.01045, allocations: 160.6 kB / 284.1 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.01048, allocations: 27.84 kB / 284.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.01051, allocations: 25.73 kB / 284.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.01051, allocations: 0 / 284.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01052, allocations: 0 / 284.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01052, allocations: 4.031 kB / 284.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.01085, allocations: 411.9 kB / 284.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01085, allocations: 0 / 284.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.01092, allocations: 19.98 kB / 284.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.487e-05/0.01101, allocations: 35.64 kB / 284.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01102, allocations: 8 kB / 284.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/0.0117, allocations: 1.764 MB / 286.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.0117, allocations: 3.938 kB / 286.4 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.01192, allocations: 307.3 kB / 286.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.01196, allocations: 27.83 kB / 286.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.01197, allocations: 3.938 kB / 286.7 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.01205, allocations: 15.98 kB / 286.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.0121, allocations: 19.91 kB / 286.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.0121, allocations: 4 kB / 286.8 MB, free: 6.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.01215, allocations: 156.8 kB / 286.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01215, allocations: 0 / 286.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01237, allocations: 63.84 kB / 287 MB, free: 6.77 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 8.259e-05/0.01245, allocations: 99.19 kB / 287.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.01268, allocations: 256 kB / 287.3 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01269, allocations: 0 / 287.3 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.0128, allocations: 236.4 kB / 287.6 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01301, allocations: 27.92 kB / 287.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.01365, allocations: 412 kB / 288 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.0137, allocations: 83.97 kB / 288.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.01375, allocations: 9.5 kB / 288.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.01385, allocations: 102.2 kB / 288.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01385, allocations: 0 / 288.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of Templates: time 0.00455/0.0184, allocations: 2.678 MB / 290.9 MB, free: 2.859 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.7742094518616796]