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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 196.6 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009295/0.0009296, allocations: 96.2 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.966e-05, allocations: 0 / 350.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.5182, allocations: 80.2 MB / 482.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5185, allocations: 70.38 kB / 482.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009326/0.5278, allocations: 3.967 MB / 486.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5278, allocations: 7.984 kB / 486.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.5279, allocations: 4 kB / 486.3 MB, free: 5.859 MB / 346.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.0006155/0.5285, allocations: 0.4915 MB / 486.8 MB, free: 5.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5285, allocations: 8.031 kB / 486.8 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5286, allocations: 27.72 kB / 486.8 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.5289, allocations: 228.6 kB / 487 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.5289, allocations: 19.67 kB / 487 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.5289, allocations: 27.86 kB / 487.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.5292, allocations: 205.2 kB / 487.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5293, allocations: 4 kB / 487.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5293, allocations: 7.375 kB / 487.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.5293, allocations: 4 kB / 487.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.5295, allocations: 130.9 kB / 487.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.5305, allocations: 0.8227 MB / 488.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.5308, allocations: 139.5 kB / 488.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.5309, allocations: 72.84 kB / 488.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.5309, allocations: 0 / 488.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.531, allocations: 35.97 kB / 488.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.531, allocations: 7.984 kB / 488.5 MB, free: 3.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003458/0.5313, allocations: 160.2 kB / 488.6 MB, free: 3.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.5313, allocations: 55.41 kB / 488.7 MB, free: 3.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.5315, allocations: 152.3 kB / 488.8 MB, free: 3.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5315, allocations: 29.27 kB / 488.9 MB, free: 3.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.5315, allocations: 150.1 kB / 489 MB, free: 3.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.5316, allocations: 53.98 kB / 489.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.5316, allocations: 7.625 kB / 489.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.5317, allocations: 326 kB / 489.4 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.5317, allocations: 42.44 kB / 489.4 MB, free: 2.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.5318, allocations: 70.19 kB / 489.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.5319, allocations: 38.48 kB / 489.5 MB, free: 2.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5319, allocations: 4 kB / 489.6 MB, free: 2.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002537/0.5321, allocations: 193.8 kB / 489.7 MB, free: 2.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5322, allocations: 5.969 kB / 489.7 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5322, allocations: 3.984 kB / 489.8 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.5324, allocations: 31.91 kB / 489.8 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.5325, allocations: 35.73 kB / 489.8 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007566/0.5333, allocations: 1.355 MB / 491.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.5334, allocations: 47.11 kB / 491.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.5335, allocations: 6.109 kB / 491.2 MB, free: 1.137 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.5335, allocations: 116.3 kB / 491.3 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.5336, allocations: 15.81 kB / 491.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.5336, allocations: 20.09 kB / 491.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5336, allocations: 4 kB / 491.4 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5336, allocations: 0.875 kB / 491.4 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.5337, allocations: 3.984 kB / 491.4 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.5341, allocations: 0.4961 MB / 491.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5341, allocations: 0 / 491.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.5343, allocations: 23.98 kB / 491.9 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.145e-05/0.5344, allocations: 43.55 kB / 491.9 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5344, allocations: 8.938 kB / 492 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008771/0.5353, allocations: 1.351 MB / 493.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5353, allocations: 4.062 kB / 493.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.5357, allocations: 316.8 kB / 493.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.5358, allocations: 98.22 kB / 493.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.5358, allocations: 8.062 kB / 493.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.536, allocations: 28.03 kB / 493.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.5361, allocations: 22.2 kB / 493.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.5361, allocations: 4 kB / 493.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.903e-05/0.5362, allocations: 131.8 kB / 493.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5362, allocations: 0 / 493.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000282/0.5365, allocations: 62.28 kB / 494 MB, free: 14.44 MB / 362.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.5367, allocations: 103.2 kB / 494.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.537, allocations: 234.9 kB / 494.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5371, allocations: 0 / 494.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.5373, allocations: 178.4 kB / 494.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.5375, allocations: 34.34 kB / 494.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.5381, allocations: 287.4 kB / 494.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5384, allocations: 0.748 MB / 495.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.5385, allocations: 14.17 kB / 495.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.5386, allocations: 15.44 kB / 495.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5386, allocations: 4 kB / 495.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.005124/0.5437, allocations: 2.161 MB / 497.7 MB, free: 10.79 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches