Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.022/1.022, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.003e-05, allocations: 2.312 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004738/0.004768, allocations: 2.562 MB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.006234, allocations: 0.6739 MB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.006388, allocations: 8 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.006569, allocations: 31.59 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.006761, allocations: 79.33 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.007109, allocations: 67.78 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.007485, allocations: 270.6 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.007728, allocations: 79.92 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.007989, allocations: 143.7 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.008164, allocations: 87.77 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.008211, allocations: 20 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.008308, allocations: 24 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.008361, allocations: 51.83 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.008465, allocations: 87.75 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.008802, allocations: 179.3 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.008806, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008807, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.008817, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.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.000903/0.00972, allocations: 0.5586 MB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.009771, allocations: 11.98 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.009967, allocations: 48.73 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.01027, allocations: 176.7 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.01029, allocations: 20.88 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.01035, allocations: 20.38 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.01081, allocations: 231.4 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.01082, allocations: 4.172 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.01085, allocations: 12.38 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01087, allocations: 11.88 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.01111, allocations: 78.94 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.01248, allocations: 0.7736 MB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.01284, allocations: 119.1 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.01296, allocations: 47.61 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.01298, allocations: 4 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.01301, allocations: 45.38 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.01302, allocations: 0 / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006541/0.01367, allocations: 189 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.0137, allocations: 55.41 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.01387, allocations: 210.6 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.01389, allocations: 33.7 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.014, allocations: 199.1 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.01405, allocations: 55.48 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.01413, allocations: 47.36 kB / 280.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.01428, allocations: 0.4923 MB / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.01436, allocations: 31.98 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01447, allocations: 74.34 kB / 280.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.01464, allocations: 106.4 kB / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01464, allocations: 0 / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006412/0.01528, allocations: 176.2 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.01531, allocations: 8.125 kB / 281 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01531, allocations: 4 kB / 281 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.01558, allocations: 31.66 kB / 281.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.01572, allocations: 31.92 kB / 281.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.01697, allocations: 1.799 MB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.01709, allocations: 27.92 kB / 282.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.0171, allocations: 4 kB / 282.9 MB, free: 6.973 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 0.0001334/0.01723, allocations: 172.5 kB / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.01728, allocations: 19.84 kB / 283.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.01732, allocations: 25.8 kB / 283.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01733, allocations: 4 kB / 283.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01733, allocations: 0 / 283.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01734, allocations: 0 / 283.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.01791, allocations: 455.7 kB / 283.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.01791, allocations: 4 kB / 283.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.01805, allocations: 23.98 kB / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.01821, allocations: 35.61 kB / 283.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.01823, allocations: 3.984 kB / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.01937, allocations: 1.791 MB / 285.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01937, allocations: 0 / 285.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.01966, allocations: 327.4 kB / 285.8 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.0197, allocations: 27.83 kB / 285.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.01972, allocations: 4 kB / 285.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.01981, allocations: 12 kB / 285.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.01987, allocations: 23.95 kB / 285.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01988, allocations: 0 / 285.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.971e-05/0.01995, allocations: 156.8 kB / 286 MB, free: 3.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01995, allocations: 0 / 286 MB, free: 3.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.0202, allocations: 71.78 kB / 286.1 MB, free: 3.637 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 0.0001003/0.0203, allocations: 99.28 kB / 286.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.02062, allocations: 264 kB / 286.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02062, allocations: 0 / 286.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.02075, allocations: 237.3 kB / 286.6 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.02099, allocations: 33.03 kB / 286.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.02185, allocations: 414.3 kB / 287.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.0219, allocations: 79.97 kB / 287.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.02196, allocations: 9.5 kB / 287.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.022, allocations: 16.5 kB / 287.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.022, allocations: 0 / 287.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of Templates: time 0.005105/0.0271, allocations: 2.444 MB / 289.6 MB, free: 16 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0632551750168204]