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.001224/0.001224, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001176/0.001176, allocations: 140.5 kB / 24.89 MB, free: 9.215 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.9536/0.9536, allocations: 173.4 MB / 201.5 MB, free: 9.207 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.263e-06/1.263e-06, allocations: 0 / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.555e-05, allocations: 2.312 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00621/0.006226, allocations: 2.578 MB / 271.1 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.0072, allocations: 0.6542 MB / 271.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.01032, allocations: 8 kB / 271.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.01045, allocations: 31.66 kB / 271.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.01058, allocations: 79.27 kB / 271.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.01078, allocations: 63.84 kB / 271.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.01102, allocations: 266.7 kB / 272.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.01117, allocations: 78.5 kB / 272.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.01133, allocations: 151.6 kB / 272.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.01167, allocations: 83.78 kB / 272.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.0117, allocations: 20 kB / 272.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.01178, allocations: 31.98 kB / 272.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.01182, allocations: 51.77 kB / 272.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.01189, allocations: 79.83 kB / 272.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.01211, allocations: 175.4 kB / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.01211, allocations: 0 / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01211, allocations: 0 / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.01211, allocations: 3.938 kB / 272.8 MB, free: 1.82 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.000521/0.01263, allocations: 452.3 kB / 273.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.01266, allocations: 8.031 kB / 273.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.01277, allocations: 40.84 kB / 273.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.01295, allocations: 149.4 kB / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.01297, allocations: 16.88 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.013, allocations: 24.38 kB / 273.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.01626, allocations: 213.7 kB / 273.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01627, allocations: 192 / 273.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.01628, allocations: 4.375 kB / 273.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01629, allocations: 11.94 kB / 273.7 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.0164, allocations: 61.41 kB / 273.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.01709, allocations: 0.5845 MB / 274.4 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.01726, allocations: 94.53 kB / 274.5 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.01731, allocations: 36.84 kB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.01732, allocations: 4 kB / 274.5 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.01735, allocations: 30.56 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.01735, allocations: 0 / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003349/0.01769, allocations: 161.8 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.01771, allocations: 51.41 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.0178, allocations: 159.3 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.01781, allocations: 29.7 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.01787, allocations: 144.3 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.01791, allocations: 63.45 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.01796, allocations: 33.7 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.01804, allocations: 326.8 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.01807, allocations: 23.98 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.01812, allocations: 59.39 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.946e-05/0.01821, allocations: 83.16 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.01822, allocations: 7.938 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001727/0.01839, allocations: 130.3 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.0184, allocations: 8.125 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.01841, allocations: 4 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.01854, allocations: 28.78 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.01865, allocations: 39.91 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.02234, allocations: 1.214 MB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.02243, allocations: 31.86 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.02243, allocations: 4 kB / 277.1 MB, free: 13.23 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 7.478e-05/0.02251, allocations: 113.8 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.02254, allocations: 15.98 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.02257, allocations: 29.73 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.02257, allocations: 0 / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.02258, allocations: 3.938 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.02258, allocations: 0 / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.0229, allocations: 299.4 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0229, allocations: 4 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.023, allocations: 35.92 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-05/0.02309, allocations: 24.83 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.02309, allocations: 4 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006018/0.0237, allocations: 1.214 MB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.0237, allocations: 3.969 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.02391, allocations: 236.3 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.02395, allocations: 19.78 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.02396, allocations: 4 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.02406, allocations: 15.98 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.0241, allocations: 15.97 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.02411, allocations: 4 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.02415, allocations: 38.44 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02415, allocations: 0 / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.0244, allocations: 67.92 kB / 279.2 MB, free: 10.95 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 7.48e-05/0.02447, allocations: 84.34 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.02492, allocations: 202.6 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.02492, allocations: 4 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003119/0.02804, allocations: 170.2 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.02824, allocations: 41.7 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.02891, allocations: 416.7 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.02896, allocations: 79.98 kB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.027e-05/0.02902, allocations: 21.42 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-05/0.02911, allocations: 75.36 kB / 280.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02912, allocations: 0 / 280.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of Templates: time 0.007821/0.03694, allocations: 2.581 MB / 282.9 MB, free: 7.266 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 -s gbode -gbm=radauIIA3 -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.7810826948843896]