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.0008538/0.0008538, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004257/0.004257, allocations: 161.2 kB / 24.7 MB, free: 9.43 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.8204/0.8204, allocations: 177.1 MB / 205 MB, free: 5.734 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.352e-06/1.352e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.251e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002705/0.002728, allocations: 2.419 MB / 328.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009086/0.003636, allocations: 0.6627 MB / 328.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.00375, allocations: 11.94 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003879, allocations: 27.72 kB / 328.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.003996, allocations: 75.27 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.004265, allocations: 67.84 kB / 329.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.004506, allocations: 262.7 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.004677, allocations: 79.92 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.004825, allocations: 143.7 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.00494, allocations: 83.77 kB / 329.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.004973, allocations: 20 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.005034, allocations: 28 kB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.005067, allocations: 51.77 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.005122, allocations: 79.83 kB / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.005362, allocations: 271 kB / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005364, allocations: 0 / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005364, allocations: 0 / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.005369, allocations: 0 / 330.1 MB, free: 11.17 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.0006099/0.005979, allocations: 484.8 kB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.006012, allocations: 12.03 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.006098, allocations: 24.8 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.00633, allocations: 182.8 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.006345, allocations: 16.88 kB / 330.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.006376, allocations: 20.38 kB / 330.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.006672, allocations: 261 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.006685, allocations: 192 / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.006703, allocations: 4.375 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.006711, allocations: 11.94 kB / 331.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.006949, allocations: 153.9 kB / 331.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.007723, allocations: 0.6896 MB / 331.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.007977, allocations: 158.5 kB / 332.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.008072, allocations: 76.75 kB / 332.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.008087, allocations: 3.938 kB / 332.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.008105, allocations: 34.56 kB / 332.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.008106, allocations: 0 / 332.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004896/0.008595, allocations: 256.6 kB / 332.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.008634, allocations: 55.41 kB / 332.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.00875, allocations: 160.1 kB / 332.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.008766, allocations: 33.7 kB / 332.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.008833, allocations: 148.4 kB / 332.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.008865, allocations: 59.48 kB / 332.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.008907, allocations: 37.7 kB / 332.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.008983, allocations: 322.8 kB / 333.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.009063, allocations: 55.97 kB / 333.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.009154, allocations: 96.19 kB / 333.4 MB, free: 7.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.009315, allocations: 136.2 kB / 333.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009317, allocations: 7.938 kB / 333.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002532/0.00957, allocations: 221 kB / 333.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.009582, allocations: 4 kB / 333.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.009587, allocations: 4 kB / 333.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.00972, allocations: 36.78 kB / 333.8 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.009802, allocations: 35.91 kB / 333.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00097/0.01077, allocations: 1.339 MB / 335.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.01086, allocations: 27.89 kB / 335.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.01086, allocations: 12 kB / 335.2 MB, free: 5.723 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 8.059e-05/0.01094, allocations: 133.7 kB / 335.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.01097, allocations: 19.91 kB / 335.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.01099, allocations: 25.81 kB / 335.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.01099, allocations: 0 / 335.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01099, allocations: 3.984 kB / 335.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.011, allocations: 4 kB / 335.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.01138, allocations: 434.8 kB / 335.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01139, allocations: 0 / 335.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.01146, allocations: 23.98 kB / 335.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.941e-05/0.01153, allocations: 36.84 kB / 335.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.01154, allocations: 0 / 335.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006118/0.01215, allocations: 1.347 MB / 337.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01215, allocations: 0 / 337.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.01248, allocations: 354.7 kB / 337.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.01252, allocations: 35.98 kB / 337.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.01253, allocations: 4 kB / 337.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.01261, allocations: 23.97 kB / 337.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.01266, allocations: 19.97 kB / 337.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.01266, allocations: 4 kB / 337.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.01272, allocations: 120.9 kB / 337.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01272, allocations: 0 / 337.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.01292, allocations: 63.83 kB / 337.8 MB, free: 2.926 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 7.933e-05/0.013, allocations: 107.2 kB / 337.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.01332, allocations: 254.5 kB / 338.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01332, allocations: 0 / 338.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.01345, allocations: 194.8 kB / 338.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01364, allocations: 19.94 kB / 338.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.01415, allocations: 439.9 kB / 338.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.01422, allocations: 121.2 kB / 338.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.01426, allocations: 16.5 kB / 338.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01426, allocations: 4 kB / 338.9 MB, free: 1.707 MB / 298.7 MB Notification: Performance of Templates: time 0.003358/0.01762, allocations: 3.169 MB / 342.1 MB, free: 14.54 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.435067753307521]