Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009604/0.0009605, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 235.5 MB, free: 2.863 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007999/0.0007998, allocations: 89.75 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.978e-05, allocations: 4 kB / 343.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08426, allocations: 50.41 MB / 394.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2897/0.374, allocations: 81.73 MB / 476 MB, free: 5.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.3743, allocations: 73.7 kB / 476 MB, free: 5.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01789/0.3922, allocations: 6.588 MB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3922, allocations: 0 / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.3922, allocations: 8 kB / 482.6 MB, free: 15.12 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.00129/0.3935, allocations: 0.6938 MB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3936, allocations: 12.03 kB / 483.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.3937, allocations: 47.44 kB / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.3942, allocations: 334.1 kB / 483.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.3942, allocations: 28.78 kB / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.3943, allocations: 39.98 kB / 483.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.3949, allocations: 425.5 kB / 484.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.395, allocations: 4 kB / 484.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.395, allocations: 16 kB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.395, allocations: 8 kB / 484.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.3956, allocations: 355 kB / 484.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.3981, allocations: 1.556 MB / 486.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.3989, allocations: 372.6 kB / 486.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.3992, allocations: 193.1 kB / 486.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.3993, allocations: 12.31 kB / 486.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3993, allocations: 34.89 kB / 486.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.3993, allocations: 0 / 486.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.00133/0.4007, allocations: 0.5122 MB / 487.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.4007, allocations: 170.1 kB / 487.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.401, allocations: 227.4 kB / 487.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.401, allocations: 33.7 kB / 487.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4011, allocations: 204.4 kB / 487.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.9e-05/0.4013, allocations: 137.9 kB / 488 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.4013, allocations: 12 kB / 488 MB, free: 9.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4014, allocations: 350.8 kB / 488.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.4016, allocations: 120.9 kB / 488.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.4019, allocations: 222.7 kB / 488.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.4022, allocations: 143.8 kB / 488.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4022, allocations: 0 / 488.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001576/0.4038, allocations: 0.6509 MB / 489.5 MB, free: 7.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.4038, allocations: 7.984 kB / 489.5 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.4038, allocations: 4 kB / 489.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.405, allocations: 297.4 kB / 489.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.4054, allocations: 87.88 kB / 489.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.4065, allocations: 1.304 MB / 491.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.4071, allocations: 103.6 kB / 491.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4071, allocations: 12 kB / 491.3 MB, free: 6.043 MB / 362.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 () * 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.000153/0.4073, allocations: 128.9 kB / 491.4 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.4074, allocations: 35.58 kB / 491.4 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4091, allocations: 0.6418 MB / 492.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4091, allocations: 4 kB / 492.1 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4092, allocations: 0 / 492.1 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4092, allocations: 0 / 492.1 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006549/0.4098, allocations: 465.5 kB / 492.5 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4098, allocations: 4 kB / 492.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.4102, allocations: 67.95 kB / 492.6 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.4113, allocations: 298.7 kB / 492.9 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.4114, allocations: 8 kB / 492.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4124, allocations: 1.317 MB / 494.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4125, allocations: 0 / 494.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.4143, allocations: 0.8672 MB / 495.1 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4144, allocations: 112.8 kB / 495.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.4144, allocations: 12 kB / 495.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.4148, allocations: 67.83 kB / 495.3 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.4149, allocations: 23.97 kB / 495.3 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.415, allocations: 12 kB / 495.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.4151, allocations: 183.3 kB / 495.5 MB, free: 1.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4151, allocations: 3.938 kB / 495.5 MB, free: 1.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.4156, allocations: 115.7 kB / 495.6 MB, free: 1.531 MB / 362.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 () * 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.0002023/0.4158, allocations: 111.2 kB / 495.7 MB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007985/0.4166, allocations: 372.5 kB / 496.1 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4166, allocations: 0 / 496.1 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.417, allocations: 211.5 kB / 496.3 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.4173, allocations: 40.98 kB / 496.3 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.4186, allocations: 0.5983 MB / 496.9 MB, free: 192 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.419, allocations: 0.8112 MB / 497.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.4192, allocations: 26.97 kB / 497.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.4192, allocations: 27.44 kB / 497.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4192, allocations: 0 / 497.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Templates: time 0.009018/0.4283, allocations: 5.234 MB / 0.4912 GB, free: 10.09 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches