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.001511/0.001511, allocations: 183 kB / 18.04 MB, free: 3.781 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.415/1.415, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007299/0.0007301, allocations: 81.62 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 12 kB / 329.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2437, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0953/0.3391, allocations: 80.49 MB / 457.5 MB, free: 84 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.3394, allocations: 71.97 kB / 457.6 MB, free: 12 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01777/0.3572, allocations: 6.471 MB / 464 MB, free: 9.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3572, allocations: 0 / 464 MB, free: 9.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.3572, allocations: 12 kB / 464.1 MB, free: 9.492 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001338/0.3586, allocations: 0.7292 MB / 464.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3586, allocations: 8.031 kB / 464.8 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3588, allocations: 56.38 kB / 464.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.3591, allocations: 306.5 kB / 465.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.3592, allocations: 29.38 kB / 465.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.3592, allocations: 36.38 kB / 465.2 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3604, allocations: 0.5285 MB / 465.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3604, allocations: 192 / 465.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.3604, allocations: 19.94 kB / 465.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3605, allocations: 8 kB / 465.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3618, allocations: 0.566 MB / 466.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.3645, allocations: 1.583 MB / 467.9 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.3657, allocations: 462.7 kB / 468.4 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.3662, allocations: 269.9 kB / 468.6 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.3663, allocations: 8.312 kB / 468.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3663, allocations: 38.89 kB / 468.7 MB, free: 4.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 3.236e-06/0.3663, allocations: 0 / 468.7 MB, free: 4.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.004566/0.3709, allocations: 1.459 MB / 470.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.371, allocations: 158.2 kB / 470.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.3714, allocations: 262.9 kB / 470.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.3715, allocations: 33.7 kB / 470.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3717, allocations: 212.3 kB / 470.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.3718, allocations: 137.9 kB / 470.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.3719, allocations: 8 kB / 470.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.372, allocations: 350.7 kB / 471.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.3726, allocations: 208.7 kB / 471.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.3731, allocations: 302.5 kB / 471.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3742, allocations: 467.3 kB / 472.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3742, allocations: 0 / 472.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00224/0.3764, allocations: 0.8303 MB / 473.1 MB, free: 60 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3765, allocations: 4 kB / 473.1 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3765, allocations: 7.984 kB / 473.1 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.3779, allocations: 329.5 kB / 473.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.3783, allocations: 91.88 kB / 473.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.3797, allocations: 1.362 MB / 474.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.3803, allocations: 91.69 kB / 474.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.3803, allocations: 16 kB / 475 MB, free: 14.11 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 () * 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.0002532/0.3806, allocations: 157.7 kB / 475.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.3807, allocations: 43.52 kB / 475.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.3829, allocations: 0.7941 MB / 475.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3829, allocations: 4 kB / 475.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3829, allocations: 3.938 kB / 476 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3829, allocations: 0 / 476 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.3836, allocations: 457 kB / 476.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3836, allocations: 4.047 kB / 476.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.384, allocations: 72.05 kB / 476.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.3852, allocations: 345.4 kB / 476.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.3852, allocations: 15.94 kB / 476.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.3866, allocations: 1.378 MB / 478.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3866, allocations: 4.109 kB / 478.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.3893, allocations: 1.105 MB / 479.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3894, allocations: 108.7 kB / 479.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.3895, allocations: 8 kB / 479.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.3899, allocations: 64 kB / 479.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.39, allocations: 23.91 kB / 479.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.39, allocations: 15.94 kB / 479.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.3903, allocations: 193.9 kB / 479.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3903, allocations: 0 / 479.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000452/0.3907, allocations: 115.7 kB / 479.8 MB, free: 9.059 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 () * 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.0002119/0.3909, allocations: 111.9 kB / 479.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3923, allocations: 0.5071 MB / 480.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3923, allocations: 0 / 480.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.3929, allocations: 276 kB / 480.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3934, allocations: 44.55 kB / 480.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3953, allocations: 1.076 MB / 481.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3957, allocations: 0.792 MB / 482.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.3959, allocations: 34.95 kB / 482.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.396, allocations: 19.44 kB / 482.7 MB, free: 6.148 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.396, allocations: 0 / 482.7 MB, free: 6.148 MB / 362.7 MB Notification: Performance of Templates: time 0.01051/0.4065, allocations: 5.264 MB / 487.9 MB, free: 0.8984 MB / 362.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/jenkins1/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