Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.18e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4606, allocations: 80.31 MB / 450.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4609, allocations: 71.38 kB / 450.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01725/0.4781, allocations: 6.455 MB / 456.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4781, allocations: 0.7656 kB / 456.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.4782, allocations: 8 kB / 456.9 MB, free: 7.363 MB / 330.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.001269/0.4794, allocations: 0.7091 MB / 457.6 MB, free: 6.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4795, allocations: 8.031 kB / 457.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.4796, allocations: 43.53 kB / 457.6 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4799, allocations: 298.8 kB / 457.9 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.48, allocations: 36.97 kB / 458 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.4801, allocations: 37.56 kB / 458 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.4807, allocations: 426.5 kB / 458.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4807, allocations: 0 / 458.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.4808, allocations: 14.81 kB / 458.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.4808, allocations: 8 kB / 458.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.4814, allocations: 351.1 kB / 458.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.4838, allocations: 1.578 MB / 460.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.4846, allocations: 367.8 kB / 460.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.4849, allocations: 189.8 kB / 460.9 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.485, allocations: 16.27 kB / 460.9 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.485, allocations: 38.88 kB / 460.9 MB, free: 3.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.555e-06/0.485, allocations: 3.984 kB / 461 MB, free: 3.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001268/0.4863, allocations: 0.5045 MB / 461.5 MB, free: 3.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.4864, allocations: 170.1 kB / 461.6 MB, free: 2.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.4866, allocations: 231.3 kB / 461.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.4867, allocations: 29.7 kB / 461.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4868, allocations: 208.4 kB / 462.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4869, allocations: 141.9 kB / 462.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.487, allocations: 8 kB / 462.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4871, allocations: 350.7 kB / 462.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.4873, allocations: 124.9 kB / 462.7 MB, free: 1.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.4876, allocations: 214.7 kB / 462.9 MB, free: 1.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.4879, allocations: 143.9 kB / 463 MB, free: 1.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4879, allocations: 4 kB / 463 MB, free: 1.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001682/0.4896, allocations: 0.6625 MB / 463.7 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4896, allocations: 4 kB / 463.7 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.4896, allocations: 0 / 463.7 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.4909, allocations: 297.5 kB / 464 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.4914, allocations: 91.83 kB / 464.1 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.4928, allocations: 1.301 MB / 465.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.4934, allocations: 87.75 kB / 465.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.4935, allocations: 16 kB / 465.5 MB, free: 14.96 MB / 346.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.0001862/0.4937, allocations: 124.9 kB / 465.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.4938, allocations: 43.61 kB / 465.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.4955, allocations: 0.6265 MB / 466.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.4955, allocations: 4 kB / 466.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4955, allocations: 4 kB / 466.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4956, allocations: 3.984 kB / 466.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.4962, allocations: 468.9 kB / 466.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4962, allocations: 192 / 466.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.4966, allocations: 63.95 kB / 466.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.4977, allocations: 307.1 kB / 467.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.4977, allocations: 11.98 kB / 467.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.4988, allocations: 1.312 MB / 468.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4988, allocations: 0 / 468.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.5006, allocations: 0.8787 MB / 469.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.5007, allocations: 104.7 kB / 469.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.5008, allocations: 8 kB / 469.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.5012, allocations: 64 kB / 469.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.5013, allocations: 27.91 kB / 469.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.5013, allocations: 8 kB / 469.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.5015, allocations: 187.1 kB / 469.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5015, allocations: 0 / 469.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004432/0.502, allocations: 111.7 kB / 469.8 MB, free: 10.46 MB / 346.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.0002268/0.5022, allocations: 111.9 kB / 469.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008369/0.503, allocations: 363.3 kB / 470.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5031, allocations: 4 kB / 470.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.5035, allocations: 204.3 kB / 470.5 MB, free: 9.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.5038, allocations: 53.22 kB / 470.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.5051, allocations: 0.6014 MB / 471.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.5055, allocations: 0.8037 MB / 471.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00016/0.5057, allocations: 30.97 kB / 472 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.5058, allocations: 27.44 kB / 472 MB, free: 8.223 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5058, allocations: 0 / 472 MB, free: 8.223 MB / 346.7 MB Notification: Performance of Templates: time 0.01002/0.5158, allocations: 5.221 MB / 477.2 MB, free: 3.004 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches