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.001433/0.001433, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001639/0.001639, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002007/0.002007, allocations: 67.89 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2548, allocations: 53.41 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004139/0.259, allocations: 2.397 MB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2602, allocations: 0.6505 MB / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2603, allocations: 4 kB / 434.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.2604, allocations: 35.64 kB / 434.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.2605, allocations: 79.33 kB / 434.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.2608, allocations: 59.86 kB / 434.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.2611, allocations: 266.8 kB / 435.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2613, allocations: 71.83 kB / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.2614, allocations: 99.64 kB / 435.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.2616, allocations: 91.55 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.2616, allocations: 20 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.2617, allocations: 28 kB / 435.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.2618, allocations: 55.77 kB / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2619, allocations: 103.5 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.2622, allocations: 257.4 kB / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2622, allocations: 0 / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2622, allocations: 0 / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2622, allocations: 3.984 kB / 435.8 MB, free: 2.293 MB / 334.1 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.0009816/0.2632, allocations: 481.6 kB / 436.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2633, allocations: 11.98 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2634, allocations: 32.78 kB / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.2637, allocations: 173.6 kB / 436.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.2637, allocations: 20.75 kB / 436.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.2637, allocations: 20.38 kB / 436.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.2642, allocations: 259.9 kB / 436.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2642, allocations: 7.891 kB / 436.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.2643, allocations: 16 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2643, allocations: 4 kB / 436.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.2647, allocations: 161.6 kB / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.2659, allocations: 0.6852 MB / 437.7 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.2663, allocations: 154.6 kB / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2665, allocations: 72.81 kB / 437.9 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.2665, allocations: 12 kB / 437.9 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2666, allocations: 30.56 kB / 437.9 MB, free: 48 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.2666, allocations: 0 / 437.9 MB, free: 48 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008429/0.2674, allocations: 250.2 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.2674, allocations: 59.41 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2676, allocations: 167.2 kB / 438.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2676, allocations: 25.7 kB / 438.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2677, allocations: 152.3 kB / 438.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.2678, allocations: 59.47 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.2679, allocations: 37.72 kB / 438.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.268, allocations: 330.8 kB / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2682, allocations: 51.91 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2683, allocations: 99.56 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.2686, allocations: 136.2 kB / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2686, allocations: 0 / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004874/0.2691, allocations: 220.8 kB / 439.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2691, allocations: 11.94 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2691, allocations: 0 / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.2693, allocations: 36.83 kB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2695, allocations: 31.98 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.2707, allocations: 1.331 MB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2709, allocations: 32.09 kB / 440.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2709, allocations: 11.94 kB / 440.9 MB, free: 12.84 MB / 350.1 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 0.0001295/0.271, allocations: 137.9 kB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.2711, allocations: 11.91 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.2711, allocations: 21.8 kB / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2711, allocations: 7.938 kB / 441.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2711, allocations: 3.938 kB / 441.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2711, allocations: 8 kB / 441.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.2718, allocations: 449.7 kB / 441.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2718, allocations: 0 / 441.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.272, allocations: 27.92 kB / 441.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.2721, allocations: 28.83 kB / 441.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2721, allocations: 11.94 kB / 441.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.2733, allocations: 1.335 MB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2733, allocations: 0 / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.2739, allocations: 344.1 kB / 443.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.274, allocations: 23.86 kB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.274, allocations: 11.94 kB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.2742, allocations: 24.09 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.2743, allocations: 20.05 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2743, allocations: 7.984 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.458e-05/0.2744, allocations: 116 kB / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2744, allocations: 0 / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.2747, allocations: 63.89 kB / 443.6 MB, free: 10.04 MB / 350.1 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.0001138/0.2748, allocations: 95.25 kB / 443.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005381/0.2753, allocations: 254.5 kB / 443.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2753, allocations: 0 / 443.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.2756, allocations: 190.6 kB / 444.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2759, allocations: 24.23 kB / 444.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.2767, allocations: 470.2 kB / 444.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.2769, allocations: 121.2 kB / 444.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.128e-05/0.2769, allocations: 17.42 kB / 444.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.277, allocations: 15.44 kB / 444.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.277, allocations: 0 / 444.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of Templates: time 0.006554/0.2835, allocations: 2.606 MB / 447.3 MB, free: 6.23 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.485990392044187]