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.001228/0.001228, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004784/0.004784, allocations: 158.9 kB / 24.7 MB, free: 9.441 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.8847/0.8847, allocations: 177 MB / 204.9 MB, free: 5.734 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 3.667e-06/3.667e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.248e-05/5.615e-05, allocations: 3.406 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003626/0.003682, allocations: 2.405 MB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.004868, allocations: 0.6582 MB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.005009, allocations: 4 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.005171, allocations: 35.64 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.00531, allocations: 71.3 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.00562, allocations: 67.88 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000607/0.006227, allocations: 274.6 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.006448, allocations: 76.5 kB / 329.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.006639, allocations: 147.7 kB / 329.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.006778, allocations: 83.72 kB / 329.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.006815, allocations: 20 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.006898, allocations: 31.98 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.006938, allocations: 43.83 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.007017, allocations: 79.83 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.007385, allocations: 267.1 kB / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.007389, allocations: 0 / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.007392, allocations: 0 / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.007398, allocations: 0 / 330 MB, free: 11.13 MB / 298.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.0008402/0.008238, allocations: 485.7 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.008284, allocations: 15.98 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.008425, allocations: 24.8 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.008768, allocations: 186.5 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.00879, allocations: 16.88 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.008831, allocations: 16.38 kB / 330.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.009248, allocations: 257 kB / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.009264, allocations: 192 / 331 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.009288, allocations: 8.375 kB / 331 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.009298, allocations: 11.94 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.009626, allocations: 161.8 kB / 331.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.01074, allocations: 0.6897 MB / 331.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.01109, allocations: 151.1 kB / 332 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.01123, allocations: 72.77 kB / 332.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01125, allocations: 0 / 332.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.01127, allocations: 34.56 kB / 332.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.213e-06/0.01127, allocations: 0 / 332.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007177/0.01199, allocations: 261.1 kB / 332.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01203, allocations: 55.41 kB / 332.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.01217, allocations: 167.9 kB / 332.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.01219, allocations: 29.7 kB / 332.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.01228, allocations: 148.4 kB / 332.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.01232, allocations: 63.48 kB / 332.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.01239, allocations: 45.7 kB / 332.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.01249, allocations: 318.8 kB / 333.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.0126, allocations: 55.97 kB / 333.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.01273, allocations: 96.12 kB / 333.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.01296, allocations: 146.8 kB / 333.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01296, allocations: 0 / 333.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003695/0.01333, allocations: 210.2 kB / 333.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.01335, allocations: 8 kB / 333.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01336, allocations: 0 / 333.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.01357, allocations: 36.83 kB / 333.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.01369, allocations: 39.98 kB / 333.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.01481, allocations: 1.339 MB / 335.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.01493, allocations: 23.94 kB / 335.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.01494, allocations: 8 kB / 335.1 MB, free: 5.676 MB / 298.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 0.0001269/0.01507, allocations: 137.8 kB / 335.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.01511, allocations: 19.84 kB / 335.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.01514, allocations: 17.81 kB / 335.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.01515, allocations: 4 kB / 335.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.01515, allocations: 0 / 335.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01516, allocations: 0 / 335.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.01575, allocations: 442.8 kB / 335.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.01575, allocations: 4 kB / 335.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.01587, allocations: 35.91 kB / 335.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.01598, allocations: 28.84 kB / 335.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01599, allocations: 0 / 335.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.01719, allocations: 1.343 MB / 337.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01719, allocations: 4.031 kB / 337.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.01767, allocations: 348.1 kB / 337.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.01773, allocations: 31.84 kB / 337.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.01775, allocations: 4 kB / 337.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.01788, allocations: 15.98 kB / 337.5 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.01794, allocations: 15.97 kB / 337.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01795, allocations: 11.98 kB / 337.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.799e-05/0.01803, allocations: 120.2 kB / 337.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01803, allocations: 8 kB / 337.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.01836, allocations: 63.83 kB / 337.7 MB, free: 2.875 MB / 298.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.0001469/0.01851, allocations: 103.2 kB / 337.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.01898, allocations: 257.2 kB / 338.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.01899, allocations: 256 / 338.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.01918, allocations: 190.6 kB / 338.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.01952, allocations: 31.25 kB / 338.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.02033, allocations: 439.9 kB / 338.7 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.02044, allocations: 125.2 kB / 338.9 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.02049, allocations: 16.5 kB / 338.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02049, allocations: 0 / 338.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of Templates: time 0.004945/0.02544, allocations: 3.173 MB / 342.1 MB, free: 14.49 MB / 314.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=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.6230518370866776]