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.001296/0.001296, 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.001473/0.001473, 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 0.9231/0.9231, allocations: 177 MB / 204.8 MB, free: 5.594 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 2.184e-06/2.184e-06, allocations: 3.984 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.758e-05, allocations: 4.984 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00276/0.002778, allocations: 2.563 MB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.003581, allocations: 0.6778 MB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.003702, allocations: 4 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.003879, allocations: 35.66 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.003988, allocations: 71.28 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.004276, allocations: 63.84 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.004542, allocations: 278.6 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.004727, allocations: 75.94 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.004875, allocations: 151.7 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.004991, allocations: 83.72 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.00502, allocations: 20 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.005088, allocations: 28 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.005123, allocations: 47.83 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.005187, allocations: 79.83 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.005408, allocations: 183.2 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.005411, allocations: 4 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005412, allocations: 0 / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005416, allocations: 0 / 277.2 MB, free: 13.11 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.000572/0.005988, allocations: 0.5547 MB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.006021, allocations: 11.98 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.006139, allocations: 48.73 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.006321, allocations: 180.2 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.00634, allocations: 16.88 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.006373, allocations: 28.38 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.006688, allocations: 231.3 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.006706, allocations: 192 / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.006728, allocations: 8.375 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.006743, allocations: 11.94 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.006914, allocations: 78.94 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.007877, allocations: 0.7697 MB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.008097, allocations: 123.1 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.00816, allocations: 51.55 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.008173, allocations: 7.984 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.008204, allocations: 37.38 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.008205, allocations: 0 / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004001/0.008606, allocations: 194.3 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.008631, allocations: 51.41 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.008735, allocations: 218.5 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.008756, allocations: 29.7 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.008832, allocations: 199 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.008865, allocations: 55.48 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.008913, allocations: 47.36 kB / 280.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.009034, allocations: 0.4923 MB / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.009091, allocations: 27.98 kB / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.009177, allocations: 82.34 kB / 280.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.009315, allocations: 105 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.009317, allocations: 0 / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002616/0.009579, allocations: 173 kB / 281 MB, free: 9.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.009593, allocations: 10.94 kB / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.009598, allocations: 0 / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.009783, allocations: 35.66 kB / 281.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.009885, allocations: 31.92 kB / 281.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.01109, allocations: 1.799 MB / 282.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.01117, allocations: 23.92 kB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.01118, allocations: 8 kB / 282.9 MB, free: 6.996 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 9.23e-05/0.01128, allocations: 172.5 kB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.01132, allocations: 27.83 kB / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.01134, allocations: 17.95 kB / 283.1 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01134, allocations: 3.984 kB / 283.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01135, allocations: 4 kB / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01135, allocations: 0 / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.01177, allocations: 444.8 kB / 283.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01177, allocations: 4 kB / 283.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.01186, allocations: 23.98 kB / 283.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.735e-05/0.01196, allocations: 35.59 kB / 283.6 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01197, allocations: 0 / 283.6 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008/0.01277, allocations: 1.799 MB / 285.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01277, allocations: 0 / 285.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.01306, allocations: 323.2 kB / 285.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.01311, allocations: 27.77 kB / 285.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.01313, allocations: 8 kB / 285.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.01323, allocations: 19.98 kB / 285.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.01328, allocations: 15.91 kB / 285.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01329, allocations: 8 kB / 285.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.01335, allocations: 152.8 kB / 286 MB, free: 3.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01335, allocations: 0 / 286 MB, free: 3.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.01364, allocations: 75.81 kB / 286.1 MB, free: 3.656 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.302e-05/0.01372, allocations: 95.38 kB / 286.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.01404, allocations: 268 kB / 286.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01404, allocations: 0 / 286.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01418, allocations: 233.3 kB / 286.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.01446, allocations: 28.23 kB / 286.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.01525, allocations: 410.1 kB / 287.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.534e-05/0.01531, allocations: 83.97 kB / 287.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.01536, allocations: 13.48 kB / 287.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.01541, allocations: 20.48 kB / 287.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01541, allocations: 0 / 287.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of Templates: time 0.005196/0.0206, allocations: 2.551 MB / 289.7 MB, free: 15.93 MB / 282.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: 2.666760825086385]