Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 170.6 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9215/0.9215, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.171e-05, allocations: 2.312 kB / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005728/0.00575, allocations: 2.596 MB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.006766, allocations: 0.6815 MB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.006871, allocations: 4 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.007001, allocations: 39.64 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.007128, allocations: 79.27 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.007327, allocations: 63.84 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.007564, allocations: 270.6 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.007711, allocations: 78.56 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.007866, allocations: 147.7 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.007988, allocations: 83.77 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.008017, allocations: 20 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-05/0.008094, allocations: 28 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.008135, allocations: 59.75 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.008202, allocations: 79.83 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.008417, allocations: 179.3 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.008419, allocations: 0 / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00842, allocations: 3.938 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.008424, allocations: 0 / 277.9 MB, free: 12.74 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.0005087/0.008933, allocations: 444.3 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.008963, allocations: 8.031 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.009075, allocations: 44.84 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.00924, allocations: 152.7 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.009257, allocations: 16.88 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.009284, allocations: 20.38 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.009514, allocations: 213.7 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.009524, allocations: 192 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.009539, allocations: 12.38 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.009549, allocations: 15.88 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.009652, allocations: 57.47 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.01035, allocations: 0.569 MB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.01052, allocations: 98.52 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.01056, allocations: 36.84 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.01058, allocations: 7.984 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.0106, allocations: 34.56 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.0106, allocations: 0 / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003371/0.01093, allocations: 154.3 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.01096, allocations: 51.41 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.01105, allocations: 155.3 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.01107, allocations: 29.7 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.01113, allocations: 148.2 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.01117, allocations: 63.47 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.01122, allocations: 37.69 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.0113, allocations: 326.8 kB / 280.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.01132, allocations: 19.98 kB / 280.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.01138, allocations: 52.27 kB / 280.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.068e-05/0.01147, allocations: 84.17 kB / 280.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.01147, allocations: 3.938 kB / 280.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001724/0.01164, allocations: 136 kB / 280.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.01165, allocations: 4 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01166, allocations: 7.938 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.01179, allocations: 24.97 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01191, allocations: 43.91 kB / 280.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/0.01282, allocations: 1.21 MB / 282.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.01289, allocations: 23.88 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.0129, allocations: 4 kB / 282.1 MB, free: 8.176 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.337e-05/0.01298, allocations: 133.8 kB / 282.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.01302, allocations: 15.98 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.01305, allocations: 21.75 kB / 282.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01305, allocations: 0 / 282.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01305, allocations: 3.984 kB / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01306, allocations: 0 / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.01337, allocations: 307.4 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01338, allocations: 0 / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.01347, allocations: 23.98 kB / 282.6 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.324e-05/0.01355, allocations: 28.84 kB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.01356, allocations: 8 kB / 282.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006034/0.01417, allocations: 1.206 MB / 283.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01417, allocations: 3.938 kB / 283.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.01437, allocations: 235.9 kB / 284.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.01441, allocations: 27.84 kB / 284.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.01442, allocations: 8 kB / 284.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.01451, allocations: 19.98 kB / 284.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.01456, allocations: 11.97 kB / 284.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.01457, allocations: 8 kB / 284.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.0146, allocations: 38.44 kB / 284.2 MB, free: 5.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0146, allocations: 0 / 284.2 MB, free: 5.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01484, allocations: 63.84 kB / 284.3 MB, free: 5.883 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.428e-05/0.01492, allocations: 88.36 kB / 284.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.01514, allocations: 200.8 kB / 284.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01514, allocations: 0 / 284.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.01525, allocations: 171.3 kB / 284.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01544, allocations: 31.98 kB / 284.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.01611, allocations: 416.9 kB / 285.1 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.01616, allocations: 79.92 kB / 285.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.01621, allocations: 9.484 kB / 285.2 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.01631, allocations: 83.36 kB / 285.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01631, allocations: 4 kB / 285.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of Templates: time 0.004814/0.02112, allocations: 2.591 MB / 287.9 MB, free: 2.188 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6655425340868533]