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.0009126/0.0009126, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0008402/0.0008402, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.8978/0.8978, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.242e-06/1.242e-06, allocations: 0 / 269.2 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.306e-05, allocations: 5.266 kB / 269.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003279/0.003302, allocations: 2.517 MB / 271.7 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.004383, allocations: 0.6306 MB / 272.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.004516, allocations: 4.875 kB / 272.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.004656, allocations: 39.58 kB / 272.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.004796, allocations: 77.36 kB / 272.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.005036, allocations: 69.06 kB / 272.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.005312, allocations: 270.6 kB / 272.8 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.005478, allocations: 67.95 kB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.005655, allocations: 151.6 kB / 273 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005784, allocations: 88.3 kB / 273.1 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.005819, allocations: 20.69 kB / 273.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.92e-05/0.005888, allocations: 24 kB / 273.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.005932, allocations: 53.47 kB / 273.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.006012, allocations: 79.77 kB / 273.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.00626, allocations: 183.4 kB / 273.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006263, allocations: 0 / 273.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006264, allocations: 0.7188 kB / 273.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.006269, allocations: 0 / 273.4 MB, free: 5.551 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.0007648/0.007034, allocations: 0.553 MB / 274 MB, free: 4.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.007069, allocations: 16.02 kB / 274 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.007198, allocations: 44.73 kB / 274 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.007401, allocations: 172.2 kB / 274.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.007419, allocations: 12.88 kB / 274.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.007454, allocations: 24.38 kB / 274.3 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.007728, allocations: 219.4 kB / 274.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.00774, allocations: 192 / 274.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.007758, allocations: 8.375 kB / 274.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.007768, allocations: 11.94 kB / 274.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.007891, allocations: 73.31 kB / 274.6 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.008756, allocations: 0.7429 MB / 275.3 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.00897, allocations: 111.2 kB / 275.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.009014, allocations: 43.67 kB / 275.4 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.009025, allocations: 4 kB / 275.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.009044, allocations: 37.38 kB / 275.5 MB, free: 3.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.009046, allocations: 0 / 275.5 MB, free: 3.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.000356/0.009402, allocations: 180 kB / 275.7 MB, free: 3.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.009423, allocations: 51.41 kB / 275.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.009518, allocations: 216.4 kB / 275.9 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.009535, allocations: 33.7 kB / 276 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.009608, allocations: 203 kB / 276.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.009636, allocations: 51.53 kB / 276.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.009681, allocations: 47.34 kB / 276.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.009786, allocations: 0.5 MB / 276.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.009814, allocations: 15.98 kB / 276.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.009866, allocations: 80.36 kB / 276.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.009949, allocations: 104.5 kB / 277 MB, free: 1.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009951, allocations: 0 / 277 MB, free: 1.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000169/0.01012, allocations: 149.1 kB / 277.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01013, allocations: 8 kB / 277.1 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.01014, allocations: 0 / 277.1 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.01027, allocations: 35.64 kB / 277.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.01035, allocations: 31.92 kB / 277.2 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007632/0.01112, allocations: 1.781 MB / 279 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.01118, allocations: 23.88 kB / 279 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.01119, allocations: 4 kB / 279 MB, free: 15.62 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.187e-05/0.01127, allocations: 168.5 kB / 279.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.0113, allocations: 19.84 kB / 279.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.01133, allocations: 25.84 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01133, allocations: 4 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01133, allocations: 0 / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01134, allocations: 3.984 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.01165, allocations: 401.4 kB / 279.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01165, allocations: 0 / 279.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.01173, allocations: 23.98 kB / 279.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.713e-05/0.01181, allocations: 35.78 kB / 279.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.01182, allocations: 3.984 kB / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009142/0.01274, allocations: 1.776 MB / 281.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01274, allocations: 3.938 kB / 281.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.01296, allocations: 307.2 kB / 281.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.01299, allocations: 27.83 kB / 281.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.01301, allocations: 4 kB / 281.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.01308, allocations: 20.05 kB / 281.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.01312, allocations: 15.97 kB / 281.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01313, allocations: 4 kB / 281.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.01318, allocations: 156.8 kB / 282 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01318, allocations: 0 / 282 MB, free: 12.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.01339, allocations: 59.89 kB / 282 MB, free: 12.39 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.77e-05/0.01348, allocations: 111.3 kB / 282.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.01372, allocations: 271.6 kB / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01372, allocations: 0 / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.01383, allocations: 224.5 kB / 282.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01404, allocations: 27.92 kB / 282.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.01467, allocations: 406.4 kB / 283 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.01471, allocations: 75.98 kB / 283.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.01476, allocations: 13.48 kB / 283.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.01485, allocations: 106.2 kB / 283.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01485, allocations: 0 / 283.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Templates: time 0.004356/0.0192, allocations: 2.665 MB / 285.9 MB, free: 8.465 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.8244415558874607]