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.001261/0.001261, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.003751/0.003751, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9911/0.9911, allocations: 177 MB / 205.2 MB, free: 5.523 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.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.276e-05, allocations: 6.312 kB / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004029/0.004061, allocations: 2.558 MB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.005326, allocations: 0.6661 MB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.005465, allocations: 4 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.005625, allocations: 39.58 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.00578, allocations: 67.34 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.006073, allocations: 75.78 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.006387, allocations: 274.6 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.006588, allocations: 71.94 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.006793, allocations: 147.7 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.006945, allocations: 83.78 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.006983, allocations: 20 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.933e-05/0.007063, allocations: 24 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.007112, allocations: 51.81 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.007204, allocations: 87.77 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.007496, allocations: 187.2 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.0075, allocations: 0 / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007501, allocations: 0 / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.007507, allocations: 4 kB / 277.3 MB, free: 13.37 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.00187/0.009376, allocations: 0.5469 MB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.009419, allocations: 15.98 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.009586, allocations: 48.73 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.009884, allocations: 188.7 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.009903, allocations: 12.88 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.009945, allocations: 20.38 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.01034, allocations: 235.3 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01035, allocations: 192 / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.01041, allocations: 8.375 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01043, allocations: 11.92 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.01065, allocations: 86.94 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01176, allocations: 0.7697 MB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.01234, allocations: 123 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.01247, allocations: 47.67 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.01249, allocations: 4 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.01252, allocations: 37.39 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.866e-06/0.01253, allocations: 0 / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005008/0.01303, allocations: 193 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.01305, allocations: 55.41 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01318, allocations: 210.6 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.0132, allocations: 29.7 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.01329, allocations: 207.1 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.01332, allocations: 55.48 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.01337, allocations: 43.38 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.01348, allocations: 0.4962 MB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.01352, allocations: 23.97 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.01359, allocations: 78.36 kB / 280.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.0137, allocations: 102.4 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0137, allocations: 11.94 kB / 280.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002084/0.01391, allocations: 165 kB / 281.1 MB, free: 9.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01392, allocations: 8 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.01393, allocations: 0 / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.01409, allocations: 27.67 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.01417, allocations: 39.92 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/0.01499, allocations: 1.803 MB / 283 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.01505, allocations: 23.88 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01506, allocations: 4 kB / 283 MB, free: 7.258 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.47e-05/0.01515, allocations: 168.6 kB / 283.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.01518, allocations: 27.84 kB / 283.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.0152, allocations: 17.84 kB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01521, allocations: 15.92 kB / 283.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01521, allocations: 0 / 283.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01521, allocations: 0 / 283.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.01558, allocations: 447.9 kB / 283.7 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01558, allocations: 3.984 kB / 283.7 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.01566, allocations: 23.94 kB / 283.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/0.01575, allocations: 31.66 kB / 283.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01576, allocations: 4 kB / 283.7 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006765/0.01644, allocations: 1.803 MB / 285.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01644, allocations: 0 / 285.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.01668, allocations: 318.2 kB / 285.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.01672, allocations: 27.83 kB / 285.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.01673, allocations: 0 / 285.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.01682, allocations: 16.05 kB / 285.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.01687, allocations: 23.97 kB / 285.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.01687, allocations: 4 kB / 285.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.509e-05/0.01693, allocations: 156.8 kB / 286.1 MB, free: 3.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01693, allocations: 0 / 286.1 MB, free: 3.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.01715, allocations: 67.78 kB / 286.1 MB, free: 3.926 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.105e-05/0.01723, allocations: 103.2 kB / 286.2 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.0175, allocations: 268.2 kB / 286.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0175, allocations: 4 kB / 286.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.01766, allocations: 229.4 kB / 286.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.01787, allocations: 35.19 kB / 286.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.01855, allocations: 418.3 kB / 287.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.01859, allocations: 75.98 kB / 287.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.552e-05/0.01863, allocations: 17.48 kB / 287.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.01867, allocations: 20.5 kB / 287.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01867, allocations: 0 / 287.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of Templates: time 0.003988/0.02266, allocations: 2.43 MB / 289.7 MB, free: 304 kB / 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.7614719630219042]