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.001014/0.001014, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0008779/0.0008779, allocations: 143.1 kB / 24.97 MB, free: 8.324 MB / 18.57 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 0.9281/0.9281, allocations: 173.3 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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.112e-06/1.112e-06, allocations: 3.938 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.949e-05, allocations: 6.312 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002589/0.002608, allocations: 2.529 MB / 270.6 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.003405, allocations: 0.6349 MB / 271.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.003501, allocations: 7.938 kB / 271.2 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.00362, allocations: 35.64 kB / 271.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.003712, allocations: 63.36 kB / 271.3 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.003925, allocations: 79.7 kB / 271.4 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.004137, allocations: 274.6 kB / 271.7 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004292, allocations: 75.88 kB / 271.7 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.004424, allocations: 147.7 kB / 271.9 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.004529, allocations: 79.78 kB / 272 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.004556, allocations: 20 kB / 272 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.004615, allocations: 28 kB / 272 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.004651, allocations: 51.81 kB / 272.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.004716, allocations: 83.77 kB / 272.1 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.004921, allocations: 183.3 kB / 272.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004923, allocations: 0 / 272.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004923, allocations: 0 / 272.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004928, allocations: 4 kB / 272.3 MB, free: 2.43 MB / 250.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.0005438/0.005471, allocations: 0.5469 MB / 272.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.005504, allocations: 12.02 kB / 272.9 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.005622, allocations: 48.73 kB / 272.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.005804, allocations: 172.8 kB / 273.1 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.00582, allocations: 16.88 kB / 273.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.005851, allocations: 24.38 kB / 273.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.006125, allocations: 231.3 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006135, allocations: 192 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.006155, allocations: 12.38 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.006165, allocations: 11.88 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.006316, allocations: 78.94 kB / 273.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.007102, allocations: 0.7852 MB / 274.3 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.007382, allocations: 123 kB / 274.4 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.007454, allocations: 51.59 kB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.007464, allocations: 4 kB / 274.4 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.007487, allocations: 37.39 kB / 274.5 MB, free: 128 kB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.007489, allocations: 4 kB / 274.5 MB, free: 124 kB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004272/0.007916, allocations: 188.6 kB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.00794, allocations: 55.41 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.008055, allocations: 210.5 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.008072, allocations: 33.7 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.008151, allocations: 195 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.008186, allocations: 59.61 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.008233, allocations: 47.36 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.008338, allocations: 0.4923 MB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.008385, allocations: 27.98 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.008453, allocations: 81.16 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.008566, allocations: 109.3 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008568, allocations: 0 / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002041/0.008772, allocations: 173 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.008784, allocations: 7.984 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.008789, allocations: 4 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.008941, allocations: 27.67 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.009021, allocations: 35.86 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008232/0.009845, allocations: 1.807 MB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.009908, allocations: 19.88 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.009917, allocations: 12 kB / 278 MB, free: 12.32 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.288e-05/0.01, allocations: 160.7 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.01003, allocations: 27.83 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.01006, allocations: 21.81 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01006, allocations: 4 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01006, allocations: 0 / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01006, allocations: 8.016 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.01043, allocations: 444.8 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01043, allocations: 0 / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.01051, allocations: 23.92 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.01059, allocations: 31.66 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.0106, allocations: 8 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000722/0.01132, allocations: 1.806 MB / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01132, allocations: 0 / 280.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.01158, allocations: 319.3 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.01161, allocations: 27.89 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01163, allocations: 144 / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.0117, allocations: 15.98 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.01175, allocations: 19.95 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01176, allocations: 4 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.01182, allocations: 164.8 kB / 281.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 0 / 281.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.01202, allocations: 63.83 kB / 281.2 MB, free: 8.984 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.161e-05/0.0121, allocations: 103.2 kB / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.01239, allocations: 275.1 kB / 281.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01239, allocations: 0 / 281.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.01268, allocations: 232.7 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.01289, allocations: 23.94 kB / 281.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.01359, allocations: 414.3 kB / 282.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.01363, allocations: 75.98 kB / 282.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.01367, allocations: 21.47 kB / 282.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.01371, allocations: 20.44 kB / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01371, allocations: 0 / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of Templates: time 0.003934/0.01764, allocations: 2.419 MB / 284.7 MB, free: 5.367 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] 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","",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.7566333308350295]