Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 96.58 kB / 20.96 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 150.7 kB / 24.25 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 173.3 MB / 200.8 MB, free: 12.78 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 267.3 MB, free: 10.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.413e-05, allocations: 2.312 kB / 267.3 MB, free: 10.26 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003605/0.003629, allocations: 2.391 MB / 269.7 MB, free: 7.848 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004754, allocations: 0.6078 MB / 270.3 MB, free: 7.234 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.004869, allocations: 7.938 kB / 270.3 MB, free: 7.227 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.005016, allocations: 35.64 kB / 270.3 MB, free: 7.191 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.005167, allocations: 75.33 kB / 270.4 MB, free: 7.117 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.005416, allocations: 71.78 kB / 270.5 MB, free: 7.047 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.005737, allocations: 278.6 kB / 270.8 MB, free: 6.773 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.005907, allocations: 68.8 kB / 270.8 MB, free: 6.699 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.006096, allocations: 147.7 kB / 271 MB, free: 6.555 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.006234, allocations: 75.78 kB / 271 MB, free: 6.48 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.006274, allocations: 24 kB / 271.1 MB, free: 6.457 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.006351, allocations: 31.92 kB / 271.1 MB, free: 6.426 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.006403, allocations: 47.81 kB / 271.1 MB, free: 6.379 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.006497, allocations: 87.77 kB / 271.2 MB, free: 6.293 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.006831, allocations: 263.1 kB / 271.5 MB, free: 6.035 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006835, allocations: 4 kB / 271.5 MB, free: 6.031 MB / 254.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006835, allocations: 0 / 271.5 MB, free: 6.031 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.006841, allocations: 0 / 271.5 MB, free: 6.031 MB / 254.1 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.000942/0.007783, allocations: 485.7 kB / 272 MB, free: 5.523 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.007818, allocations: 8.031 kB / 272 MB, free: 5.516 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.007977, allocations: 48.73 kB / 272 MB, free: 5.469 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.008285, allocations: 166 kB / 272.2 MB, free: 5.281 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.008306, allocations: 16.88 kB / 272.2 MB, free: 5.266 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.008359, allocations: 28.31 kB / 272.2 MB, free: 5.238 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.008841, allocations: 253 kB / 272.5 MB, free: 4.973 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.008854, allocations: 4.188 kB / 272.5 MB, free: 4.969 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.008877, allocations: 4.375 kB / 272.5 MB, free: 4.965 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.008889, allocations: 11.94 kB / 272.5 MB, free: 4.953 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.009287, allocations: 149.9 kB / 272.6 MB, free: 4.809 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.01055, allocations: 0.7013 MB / 273.3 MB, free: 4.059 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.01095, allocations: 154.6 kB / 273.5 MB, free: 3.898 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.01115, allocations: 75.48 kB / 273.6 MB, free: 3.824 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.01116, allocations: 4 kB / 273.6 MB, free: 3.82 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.01119, allocations: 42.56 kB / 273.6 MB, free: 3.77 MB / 254.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.01119, allocations: 0 / 273.6 MB, free: 3.77 MB / 254.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008735/0.01207, allocations: 258.1 kB / 273.9 MB, free: 3.508 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.01211, allocations: 51.41 kB / 273.9 MB, free: 3.445 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.01227, allocations: 167.2 kB / 274.1 MB, free: 3.273 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.0123, allocations: 33.7 kB / 274.1 MB, free: 3.234 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.0124, allocations: 144.4 kB / 274.2 MB, free: 3.09 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.01245, allocations: 59.48 kB / 274.3 MB, free: 3.031 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.01252, allocations: 37.7 kB / 274.3 MB, free: 2.988 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01267, allocations: 326.8 kB / 274.7 MB, free: 2.66 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.01283, allocations: 51.97 kB / 274.7 MB, free: 2.609 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01302, allocations: 104 kB / 274.8 MB, free: 2.492 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.01333, allocations: 144.2 kB / 275 MB, free: 2.336 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01334, allocations: 0 / 275 MB, free: 2.336 MB / 254.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005006/0.01384, allocations: 216.1 kB / 275.2 MB, free: 2.117 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01385, allocations: 8.125 kB / 275.2 MB, free: 2.109 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01386, allocations: 4 kB / 275.2 MB, free: 2.105 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.01405, allocations: 36.83 kB / 275.2 MB, free: 2.066 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.01421, allocations: 35.86 kB / 275.2 MB, free: 2.031 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.01549, allocations: 1.343 MB / 276.6 MB, free: 0.5859 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.01567, allocations: 35.92 kB / 276.6 MB, free: 0.5508 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01568, allocations: 4 kB / 276.6 MB, free: 0.5469 MB / 254.1 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.0001274/0.01581, allocations: 133.8 kB / 276.8 MB, free: 416 kB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.01586, allocations: 19.89 kB / 276.8 MB, free: 396 kB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.01592, allocations: 21.81 kB / 276.8 MB, free: 368 kB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.01592, allocations: 4.141 kB / 276.8 MB, free: 364 kB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01592, allocations: 0 / 276.8 MB, free: 364 kB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.01594, allocations: 3.984 kB / 276.8 MB, free: 360 kB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.0167, allocations: 446.8 kB / 277.2 MB, free: 15.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01671, allocations: 0 / 277.2 MB, free: 15.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.01686, allocations: 31.91 kB / 277.3 MB, free: 15.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.01698, allocations: 28.84 kB / 277.3 MB, free: 15.81 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.01699, allocations: 0 / 277.3 MB, free: 15.81 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.01819, allocations: 1.346 MB / 278.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01819, allocations: 4.062 kB / 278.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.01884, allocations: 355.5 kB / 279 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.01891, allocations: 35.84 kB / 279 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.01893, allocations: 4 kB / 279 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.01913, allocations: 20.05 kB / 279.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.0192, allocations: 23.97 kB / 279.1 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01921, allocations: 3.984 kB / 279.1 MB, free: 13.91 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.01931, allocations: 120.9 kB / 279.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01931, allocations: 0 / 279.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.01964, allocations: 59.83 kB / 279.3 MB, free: 13.73 MB / 270.1 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.0001132/0.01975, allocations: 107.4 kB / 279.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005595/0.02031, allocations: 268.3 kB / 279.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02031, allocations: 3.938 kB / 279.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.0206, allocations: 186.5 kB / 279.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.02091, allocations: 27.92 kB / 279.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.02167, allocations: 404.8 kB / 280.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.0218, allocations: 129.2 kB / 280.4 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.332e-05/0.02186, allocations: 13.48 kB / 280.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.02191, allocations: 20.44 kB / 280.4 MB, free: 12.52 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.02191, allocations: 0 / 280.4 MB, free: 12.52 MB / 270.1 MB Notification: Performance of Templates: time 0.006627/0.02854, allocations: 2.396 MB / 282.8 MB, free: 10.17 MB / 270.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.260113324970007]