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.001896/0.001896, allocations: 81.64 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002406/0.002406, allocations: 163.7 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.473/1.473, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 2.254e-06/2.254e-06, allocations: 1.188 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.534e-05, allocations: 2.281 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003768/0.003793, allocations: 2.415 MB / 327.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.00504, allocations: 0.6519 MB / 328.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.005154, allocations: 6.656 kB / 328.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.005314, allocations: 38.08 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.005468, allocations: 77.11 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.005734, allocations: 65.36 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.006077, allocations: 277.1 kB / 328.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.006261, allocations: 71.83 kB / 328.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.006469, allocations: 144.2 kB / 328.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.00664, allocations: 81.34 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.006681, allocations: 20.19 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.006782, allocations: 25.42 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.006844, allocations: 53.89 kB / 328.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.006961, allocations: 80.75 kB / 329 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.007343, allocations: 266.8 kB / 329.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.007349, allocations: 2 kB / 329.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00735, allocations: 3.938 kB / 329.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.007361, allocations: 0 / 329.3 MB, free: 13.91 MB / 302.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.001007/0.008367, allocations: 477.6 kB / 329.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.0084, allocations: 9.188 kB / 329.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.008512, allocations: 27.31 kB / 329.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.008816, allocations: 184.2 kB / 330 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.008838, allocations: 18.59 kB / 330 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.008884, allocations: 21.72 kB / 330 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.009403, allocations: 251.3 kB / 330.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.009419, allocations: 5.219 kB / 330.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.009446, allocations: 12 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.009455, allocations: 8.969 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.00987, allocations: 152.8 kB / 330.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.01122, allocations: 0.6931 MB / 331.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.01162, allocations: 151.5 kB / 331.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.01181, allocations: 81.06 kB / 331.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.01183, allocations: 2.125 kB / 331.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.01186, allocations: 32.69 kB / 331.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.01186, allocations: 3.938 kB / 331.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008665/0.01272, allocations: 251.3 kB / 331.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.01276, allocations: 54.06 kB / 331.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01292, allocations: 166.7 kB / 331.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.01295, allocations: 38.67 kB / 331.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01306, allocations: 151.2 kB / 332 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.01311, allocations: 54.17 kB / 332.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.01318, allocations: 42.7 kB / 332.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.01334, allocations: 323 kB / 332.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.0135, allocations: 52.12 kB / 332.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.01368, allocations: 98.91 kB / 332.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.014, allocations: 140.8 kB / 332.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.014, allocations: 0.9062 kB / 332.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005106/0.01451, allocations: 222.7 kB / 333 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01453, allocations: 5.5 kB / 333 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.01454, allocations: 5.094 kB / 333 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.01472, allocations: 28.47 kB / 333 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.01488, allocations: 45.72 kB / 333 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.01616, allocations: 1.333 MB / 334.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.01635, allocations: 27.86 kB / 334.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01636, allocations: 5.531 kB / 334.4 MB, free: 9.812 MB / 302.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.0001329/0.01649, allocations: 135.4 kB / 334.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.01654, allocations: 18.44 kB / 334.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.01658, allocations: 25.28 kB / 334.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01659, allocations: 6.016 kB / 334.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.01659, allocations: 5.469 kB / 334.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.0166, allocations: 0 / 334.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/0.01733, allocations: 440.1 kB / 335 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01733, allocations: 1.188 kB / 335 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.01748, allocations: 27.3 kB / 335 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.01759, allocations: 31.61 kB / 335.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.01761, allocations: 5.281 kB / 335.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.01883, allocations: 1.339 MB / 336.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01883, allocations: 0 / 336.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.01949, allocations: 352.7 kB / 336.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.01955, allocations: 26.23 kB / 336.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01957, allocations: 5.25 kB / 336.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.01978, allocations: 27.41 kB / 336.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.01984, allocations: 14.78 kB / 336.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01985, allocations: 10.31 kB / 336.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.894e-05/0.01994, allocations: 118.8 kB / 337 MB, free: 7.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01994, allocations: 0 / 337 MB, free: 7.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.02027, allocations: 66.42 kB / 337 MB, free: 7.512 MB / 302.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.0001362/0.02041, allocations: 107.1 kB / 337.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.02094, allocations: 259.1 kB / 337.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02094, allocations: 0 / 337.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.02123, allocations: 189.5 kB / 337.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.02154, allocations: 26.27 kB / 337.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.02247, allocations: 413.5 kB / 338 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.02259, allocations: 123 kB / 338.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.739e-05/0.02266, allocations: 15.7 kB / 338.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.0227, allocations: 19.58 kB / 338.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.0227, allocations: 0 / 338.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Templates: time 0.006247/0.02895, allocations: 2.367 MB / 340.5 MB, free: 5.168 MB / 302.1 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.352338142693043]