Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002358/0.002358, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 96.14 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.377e-05, allocations: 7.938 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3827, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.5099, allocations: 79.67 MB / 442 MB, free: 6.633 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5102, allocations: 67.95 kB / 442.1 MB, free: 6.566 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03011/0.5404, allocations: 6.397 MB / 448.5 MB, free: 180 kB / 331.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5404, allocations: 0 / 448.5 MB, free: 180 kB / 331.1 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.5405, allocations: 8 kB / 448.5 MB, free: 172 kB / 331.1 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.00231/0.5428, allocations: 0.7089 MB / 449.2 MB, free: 15.41 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5429, allocations: 12.03 kB / 449.2 MB, free: 15.4 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.543, allocations: 43.53 kB / 449.2 MB, free: 15.36 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.5436, allocations: 301.3 kB / 449.5 MB, free: 15.02 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.5437, allocations: 12 kB / 449.5 MB, free: 15.01 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.5438, allocations: 35.42 kB / 449.6 MB, free: 14.98 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/0.5448, allocations: 330.5 kB / 449.9 MB, free: 14.66 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.5458, allocations: 364 kB / 450.2 MB, free: 14.28 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5459, allocations: 0 / 450.2 MB, free: 14.28 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.5459, allocations: 0 / 450.2 MB, free: 14.28 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.546, allocations: 9.641 kB / 450.3 MB, free: 14.27 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.5502, allocations: 1.512 MB / 451.8 MB, free: 12.67 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.5516, allocations: 349.5 kB / 452.1 MB, free: 12.32 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.5521, allocations: 173.9 kB / 452.3 MB, free: 12.14 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.5521, allocations: 12.31 kB / 452.3 MB, free: 12.13 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.5522, allocations: 46.78 kB / 452.3 MB, free: 12.08 MB / 347.1 MB Notification: Performance of pre-optimization done (n=40): time 3.156e-06/0.5522, allocations: 4 kB / 452.3 MB, free: 12.07 MB / 347.1 MB Notification: Performance of matching and sorting (n=40): time 0.002211/0.5544, allocations: 486.3 kB / 452.8 MB, free: 11.59 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.5546, allocations: 158.2 kB / 453 MB, free: 11.4 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.5549, allocations: 206.4 kB / 453.2 MB, free: 11.19 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 9.573e-05/0.555, allocations: 25.7 kB / 453.2 MB, free: 11.16 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.5553, allocations: 262.7 kB / 453.5 MB, free: 10.9 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.5554, allocations: 138 kB / 453.6 MB, free: 10.77 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.5555, allocations: 0 / 453.6 MB, free: 10.77 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5557, allocations: 330.8 kB / 453.9 MB, free: 10.43 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.556, allocations: 124.8 kB / 454 MB, free: 10.31 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.5565, allocations: 205.7 kB / 454.2 MB, free: 10.07 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.557, allocations: 127.9 kB / 454.4 MB, free: 9.949 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.557, allocations: 4 kB / 454.4 MB, free: 9.945 MB / 347.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002808/0.5598, allocations: 0.6052 MB / 455 MB, free: 9.328 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.5599, allocations: 8 kB / 455 MB, free: 9.32 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5599, allocations: 2.062 kB / 455 MB, free: 9.32 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.5614, allocations: 253.5 kB / 455.2 MB, free: 9.066 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.5622, allocations: 87.88 kB / 455.3 MB, free: 8.98 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.5641, allocations: 1.341 MB / 456.7 MB, free: 7.59 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.565, allocations: 83.72 kB / 456.7 MB, free: 7.508 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.5651, allocations: 19.98 kB / 456.8 MB, free: 7.488 MB / 347.1 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.0001855/0.5653, allocations: 108.9 kB / 456.9 MB, free: 7.375 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5655, allocations: 35.62 kB / 456.9 MB, free: 7.34 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.5683, allocations: 0.5916 MB / 457.5 MB, free: 6.734 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5684, allocations: 4 kB / 457.5 MB, free: 6.73 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5684, allocations: 0 / 457.5 MB, free: 6.73 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.5684, allocations: 4 kB / 457.5 MB, free: 6.727 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/0.5693, allocations: 401.6 kB / 457.9 MB, free: 6.297 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5694, allocations: 3.938 kB / 457.9 MB, free: 6.293 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.57, allocations: 71.94 kB / 458 MB, free: 6.223 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.5715, allocations: 251 kB / 458.2 MB, free: 5.973 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.418e-05/0.5716, allocations: 8 kB / 458.2 MB, free: 5.965 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.5734, allocations: 1.352 MB / 459.6 MB, free: 4.562 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.5735, allocations: 0 / 459.6 MB, free: 4.562 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.5767, allocations: 0.8319 MB / 460.4 MB, free: 3.707 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.577, allocations: 112.6 kB / 460.5 MB, free: 3.578 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/0.5771, allocations: 3.953 kB / 460.5 MB, free: 3.574 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.5778, allocations: 58.81 kB / 460.6 MB, free: 3.52 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.578, allocations: 23.97 kB / 460.6 MB, free: 3.496 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.578, allocations: 15.98 kB / 460.6 MB, free: 3.48 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.5783, allocations: 166.7 kB / 460.8 MB, free: 3.32 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5783, allocations: 4 kB / 460.8 MB, free: 3.316 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006409/0.579, allocations: 91.78 kB / 460.9 MB, free: 3.227 MB / 347.1 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.0002505/0.5792, allocations: 103.2 kB / 461 MB, free: 3.117 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.5805, allocations: 344.5 kB / 461.3 MB, free: 2.781 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5806, allocations: 4 kB / 461.3 MB, free: 2.777 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006488/0.5812, allocations: 197.8 kB / 461.5 MB, free: 2.586 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.5818, allocations: 29.78 kB / 461.5 MB, free: 2.562 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.5837, allocations: 0.6121 MB / 462.1 MB, free: 1.918 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.5842, allocations: 0.8073 MB / 462.9 MB, free: 1.082 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.5844, allocations: 23.44 kB / 463 MB, free: 1.059 MB / 347.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5844, allocations: 0 / 463 MB, free: 1.059 MB / 347.1 MB Notification: Performance of Templates: time 0.01524/0.5997, allocations: 6.706 MB / 469.7 MB, free: 10.38 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches