Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009796/0.0009797, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009045/0.0009045, allocations: 95.73 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001936/0.0001936, allocations: 8 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1743, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08797/0.2623, allocations: 82.62 MB / 492 MB, free: 8.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.2625, allocations: 72.73 kB / 492.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.2793, allocations: 6.697 MB / 498.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2793, allocations: 0 / 498.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.2793, allocations: 8 kB / 498.8 MB, free: 1.203 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001261/0.2806, allocations: 0.729 MB / 499.5 MB, free: 436 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2807, allocations: 12.02 kB / 499.5 MB, free: 424 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2808, allocations: 59.44 kB / 499.6 MB, free: 364 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.2813, allocations: 338.2 kB / 499.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.2814, allocations: 29 kB / 500 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.2814, allocations: 39.98 kB / 500 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.2824, allocations: 0.5279 MB / 0.4888 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2824, allocations: 0 / 0.4888 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.2825, allocations: 16 kB / 0.4888 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2825, allocations: 8 kB / 0.4888 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.2838, allocations: 0.5621 MB / 0.4894 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.2861, allocations: 1.557 MB / 0.4909 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2871, allocations: 474 kB / 0.4913 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.2872, allocations: 8.312 kB / 0.4913 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2872, allocations: 50.77 kB / 0.4914 GB, free: 12.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.522e-06/0.2872, allocations: 0 / 0.4914 GB, free: 12.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.004566/0.2918, allocations: 1.432 MB / 0.4928 GB, free: 11.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.2919, allocations: 166.2 kB / 0.493 GB, free: 10.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.2922, allocations: 234.1 kB / 0.4932 GB, free: 10.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.2922, allocations: 33.7 kB / 0.4932 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.2923, allocations: 216.3 kB / 0.4934 GB, free: 10.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.2924, allocations: 134 kB / 0.4935 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.2925, allocations: 8 kB / 0.4936 GB, free: 10.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2926, allocations: 347.6 kB / 0.4939 GB, free: 9.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.2931, allocations: 208.7 kB / 0.4941 GB, free: 9.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.2936, allocations: 306.5 kB / 0.4944 GB, free: 9.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.2941, allocations: 219 kB / 0.4946 GB, free: 9.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2942, allocations: 4 kB / 0.4946 GB, free: 9.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002171/0.2963, allocations: 0.8302 MB / 0.4954 GB, free: 8.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2964, allocations: 8 kB / 0.4954 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2964, allocations: 0 / 0.4954 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.2976, allocations: 337.5 kB / 0.4957 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.298, allocations: 87.88 kB / 0.4958 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.2991, allocations: 1.362 MB / 0.4971 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.2996, allocations: 95.64 kB / 0.4972 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.2996, allocations: 19.94 kB / 0.4973 GB, free: 6.355 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.2998, allocations: 165.7 kB / 0.4974 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.2999, allocations: 31.62 kB / 0.4974 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.3019, allocations: 0.7939 MB / 0.4982 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3019, allocations: 4 kB / 0.4982 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3019, allocations: 192 / 0.4982 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3019, allocations: 3.984 kB / 0.4982 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.3024, allocations: 469 kB / 0.4987 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3024, allocations: 0 / 0.4987 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.3027, allocations: 71.89 kB / 0.4987 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.3039, allocations: 337.4 kB / 0.4991 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.304, allocations: 7.984 kB / 0.4991 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.3051, allocations: 1.384 MB / 0.5004 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3051, allocations: 4.125 kB / 0.5004 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.3075, allocations: 1.093 MB / 0.5015 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.3076, allocations: 120.6 kB / 0.5016 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.3077, allocations: 8 kB / 0.5016 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.3081, allocations: 63.92 kB / 0.5017 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.3081, allocations: 23.95 kB / 0.5017 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.3082, allocations: 12 kB / 0.5017 GB, free: 1.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.3084, allocations: 197.9 kB / 0.5019 GB, free: 1.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3084, allocations: 0 / 0.5019 GB, free: 1.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003736/0.3088, allocations: 115.8 kB / 0.502 GB, free: 1.309 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.3089, allocations: 110.8 kB / 0.5021 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.3101, allocations: 0.5197 MB / 0.5026 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3101, allocations: 0 / 0.5026 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.3107, allocations: 283.9 kB / 0.5029 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.311, allocations: 32.55 kB / 0.5029 GB, free: 376 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1384/0.4493, allocations: 1.071 MB / 0.504 GB, free: 96.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4496, allocations: 0.8058 MB / 0.5048 GB, free: 95.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.4498, allocations: 31.22 kB / 0.5048 GB, free: 95.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.4499, allocations: 23.61 kB / 0.5048 GB, free: 95.52 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4499, allocations: 0 / 0.5048 GB, free: 95.52 MB / 378.7 MB Notification: Performance of Templates: time 0.008649/0.4585, allocations: 5.231 MB / 0.5099 GB, free: 95.32 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches