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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 210.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2613, allocations: 50.54 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003701/0.2651, allocations: 2.508 MB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2663, allocations: 0.6778 MB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2664, allocations: 4 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.2666, allocations: 35.64 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2667, allocations: 67.34 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.267, allocations: 71.84 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.2673, allocations: 254.8 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.2675, allocations: 107.4 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2676, allocations: 99.64 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.2678, allocations: 119.5 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.2679, allocations: 20 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.268, allocations: 24 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.268, allocations: 47.83 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2681, allocations: 115.5 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.2684, allocations: 264.1 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2684, allocations: 3.938 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2684, allocations: 0 / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2685, allocations: 0 / 414.3 MB, free: 13.22 MB / 334.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.0009804/0.2694, allocations: 0.5497 MB / 414.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2695, allocations: 8.031 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2696, allocations: 28.66 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.2699, allocations: 228.4 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.27, allocations: 16.81 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.27, allocations: 28.28 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.2705, allocations: 234.1 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2705, allocations: 0 / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.2705, allocations: 8 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2705, allocations: 4 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2709, allocations: 157.7 kB / 415.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2722, allocations: 0.8126 MB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.2726, allocations: 154.6 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.2728, allocations: 84.77 kB / 416.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2728, allocations: 4 kB / 416.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.2728, allocations: 30.56 kB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.2728, allocations: 0 / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008699/0.2737, allocations: 339.2 kB / 417 MB, free: 10.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2738, allocations: 51.41 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.2739, allocations: 178.6 kB / 417.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.274, allocations: 29.7 kB / 417.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.2741, allocations: 148.1 kB / 417.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.2741, allocations: 59.25 kB / 417.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.2742, allocations: 45.66 kB / 417.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2743, allocations: 330.8 kB / 417.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2745, allocations: 51.97 kB / 417.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2747, allocations: 95.25 kB / 417.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.275, allocations: 140.2 kB / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.275, allocations: 3.984 kB / 418.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004588/0.2755, allocations: 220.5 kB / 418.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2755, allocations: 8 kB / 418.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2755, allocations: 0 / 418.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.2757, allocations: 44.75 kB / 418.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2759, allocations: 35.92 kB / 418.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.2771, allocations: 1.465 MB / 419.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2773, allocations: 35.86 kB / 419.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2774, allocations: 12 kB / 419.9 MB, free: 7.188 MB / 334.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.0001391/0.2775, allocations: 133.7 kB / 420 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.2776, allocations: 19.8 kB / 420 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.2776, allocations: 21.88 kB / 420.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2776, allocations: 0 / 420.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2776, allocations: 4 kB / 420.1 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2776, allocations: 3.938 kB / 420.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.2785, allocations: 0.5146 MB / 420.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2785, allocations: 0 / 420.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2786, allocations: 27.98 kB / 420.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.2788, allocations: 36.95 kB / 420.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2788, allocations: 4 kB / 420.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.2799, allocations: 1.457 MB / 422.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2799, allocations: 4 kB / 422.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.2805, allocations: 354.9 kB / 422.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2807, allocations: 104.9 kB / 422.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.2807, allocations: 4 kB / 422.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2809, allocations: 28.03 kB / 422.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.281, allocations: 19.97 kB / 422.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.281, allocations: 0 / 422.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.42e-05/0.2811, allocations: 124.3 kB / 422.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.2811, allocations: 0 / 422.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.2814, allocations: 67.78 kB / 422.8 MB, free: 4.027 MB / 334.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.000112/0.2815, allocations: 103.2 kB / 422.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005586/0.2821, allocations: 262.4 kB / 423.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2821, allocations: 0 / 423.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.2824, allocations: 198.6 kB / 423.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.2827, allocations: 44.09 kB / 423.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.2835, allocations: 480.2 kB / 423.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2839, allocations: 0.7359 MB / 424.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.2839, allocations: 19.44 kB / 424.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2839, allocations: 0 / 424.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of Templates: time 0.005089/0.289, allocations: 3.163 MB / 427.8 MB, free: 14.96 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches