Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001172/0.001172, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002046/0.003218, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001445/0.001445, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001952/0.003397, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9311/0.9311, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1729/1.104, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 221.8 MB, free: 200 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.695e-05, allocations: 10.11 kB / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004609/0.004636, allocations: 2.53 MB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.00604, allocations: 0.6629 MB / 225 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.006189, allocations: 0 / 225 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.006299, allocations: 35.59 kB / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.006473, allocations: 71.34 kB / 225.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.006705, allocations: 67.84 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.007046, allocations: 278.6 kB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.007226, allocations: 74.52 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.007504, allocations: 171.6 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.007674, allocations: 79.78 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.007722, allocations: 20 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.007837, allocations: 24 kB / 225.8 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.007881, allocations: 39.81 kB / 225.9 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.007969, allocations: 67.88 kB / 225.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.008281, allocations: 167.4 kB / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.799e-05/0.008299, allocations: 0 / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.0083, allocations: 0 / 226.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.008317, allocations: 3.938 kB / 226.1 MB, free: 11.89 MB / 234.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.000635/0.008952, allocations: 484 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.008983, allocations: 15.97 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.00912, allocations: 126 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.009286, allocations: 153.4 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.009304, allocations: 16.88 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.009332, allocations: 24.38 kB / 226.9 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.00955, allocations: 213.7 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.00956, allocations: 192 / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.009575, allocations: 8.375 kB / 227.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.009583, allocations: 7.938 kB / 227.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.009673, allocations: 65.41 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.01038, allocations: 0.5689 MB / 227.7 MB, free: 10.1 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.01055, allocations: 98.53 kB / 227.8 MB, free: 9.996 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.0106, allocations: 36.83 kB / 227.9 MB, free: 9.957 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.01061, allocations: 4 kB / 227.9 MB, free: 9.953 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.01063, allocations: 38.56 kB / 227.9 MB, free: 9.906 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.01063, allocations: 0 / 227.9 MB, free: 9.906 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003346/0.01096, allocations: 146.3 kB / 228.1 MB, free: 9.754 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.01099, allocations: 51.41 kB / 228.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.01108, allocations: 167.2 kB / 228.3 MB, free: 9.516 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.0111, allocations: 29.7 kB / 228.3 MB, free: 9.48 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.01116, allocations: 140.3 kB / 228.4 MB, free: 9.34 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.01119, allocations: 63.47 kB / 228.5 MB, free: 9.277 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.01124, allocations: 41.62 kB / 228.5 MB, free: 9.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.01131, allocations: 326.8 kB / 228.9 MB, free: 8.902 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.01134, allocations: 16 kB / 228.9 MB, free: 8.887 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.226e-05/0.01139, allocations: 52.27 kB / 228.9 MB, free: 8.82 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/0.01147, allocations: 91.2 kB / 229 MB, free: 8.719 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01148, allocations: 7.938 kB / 229 MB, free: 8.711 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001397/0.01162, allocations: 126.4 kB / 229.2 MB, free: 8.578 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.01163, allocations: 4 kB / 229.2 MB, free: 8.574 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01163, allocations: 0 / 229.2 MB, free: 8.574 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.01176, allocations: 40.75 kB / 229.2 MB, free: 8.531 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01187, allocations: 35.92 kB / 229.2 MB, free: 8.496 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006548/0.01253, allocations: 1.229 MB / 230.5 MB, free: 7.184 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.01259, allocations: 15.95 kB / 230.5 MB, free: 7.168 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.0126, allocations: 4 kB / 230.5 MB, free: 7.164 MB / 234.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 7.157e-05/0.01267, allocations: 121.7 kB / 230.6 MB, free: 7.035 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.01269, allocations: 19.98 kB / 230.6 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.01272, allocations: 33.77 kB / 230.7 MB, free: 6.984 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01272, allocations: 4 kB / 230.7 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01273, allocations: 0 / 230.7 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01273, allocations: 0 / 230.7 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.01302, allocations: 303.3 kB / 231 MB, free: 6.656 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01302, allocations: 4 kB / 231 MB, free: 6.652 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.01311, allocations: 24.69 kB / 231 MB, free: 6.629 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.01314, allocations: 23.89 kB / 231 MB, free: 6.605 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-05/0.01323, allocations: 24.97 kB / 231 MB, free: 6.578 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.01323, allocations: 8 kB / 231 MB, free: 6.57 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005729/0.01381, allocations: 1.21 MB / 232.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01381, allocations: 0 / 232.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.014, allocations: 239.5 kB / 232.5 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.01401, allocations: 0 / 232.5 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.01409, allocations: 16.06 kB / 232.5 MB, free: 5.008 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.01414, allocations: 19.95 kB / 232.5 MB, free: 4.988 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.01415, allocations: 4 kB / 232.5 MB, free: 4.984 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.059e-05/0.01418, allocations: 38.45 kB / 232.6 MB, free: 4.945 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01418, allocations: 0 / 232.6 MB, free: 4.945 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.01438, allocations: 63.89 kB / 232.6 MB, free: 4.883 MB / 234.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 9.48e-05/0.01447, allocations: 80.34 kB / 232.7 MB, free: 4.797 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01468, allocations: 206.4 kB / 232.9 MB, free: 4.582 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.01469, allocations: 4 kB / 232.9 MB, free: 4.578 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.01478, allocations: 167.3 kB / 233.1 MB, free: 4.398 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.01494, allocations: 40.12 kB / 233.1 MB, free: 4.359 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.01747, allocations: 404.5 kB / 233.5 MB, free: 3.93 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.637e-05/0.01754, allocations: 75.98 kB / 233.6 MB, free: 3.836 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.01761, allocations: 17.48 kB / 233.6 MB, free: 3.82 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.01771, allocations: 83.34 kB / 233.7 MB, free: 3.738 MB / 234.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01771, allocations: 0 / 233.7 MB, free: 3.738 MB / 234.7 MB Notification: Performance of Templates: time 0.005222/0.02293, allocations: 2.681 MB / 236.4 MB, free: 1.074 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.669032283127308]