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.001616/0.001615, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.996/1.996, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001108/0.001108, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.186e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09793, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.5, allocations: 80.33 MB / 449.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5003, allocations: 75.95 kB / 449.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03037/0.5307, allocations: 6.446 MB / 455.9 MB, free: 7.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5308, allocations: 0.6562 kB / 455.9 MB, free: 7.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.5308, allocations: 8 kB / 455.9 MB, free: 7.262 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.002276/0.5331, allocations: 0.7068 MB / 456.6 MB, free: 6.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.5332, allocations: 8.031 kB / 456.7 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.5334, allocations: 47.53 kB / 456.7 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.534, allocations: 306.4 kB / 457 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.5341, allocations: 26.66 kB / 457 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.5342, allocations: 40.86 kB / 457.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.5353, allocations: 430.9 kB / 457.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.5354, allocations: 0 / 457.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.5355, allocations: 13.94 kB / 457.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5355, allocations: 8 kB / 457.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5366, allocations: 348.6 kB / 457.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.5409, allocations: 1.571 MB / 459.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.5423, allocations: 368.8 kB / 459.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/0.5429, allocations: 196.1 kB / 460 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/0.543, allocations: 12.27 kB / 460 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.543, allocations: 42.02 kB / 460 MB, free: 3.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.436e-06/0.5431, allocations: 0 / 460 MB, free: 3.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.002219/0.5453, allocations: 0.506 MB / 460.5 MB, free: 3.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.5454, allocations: 170.1 kB / 460.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.5458, allocations: 229.3 kB / 460.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.546, allocations: 33.27 kB / 460.9 MB, free: 2.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.5461, allocations: 255.3 kB / 461.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.5463, allocations: 140.6 kB / 461.3 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.5464, allocations: 14.62 kB / 461.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5466, allocations: 330.8 kB / 461.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.547, allocations: 120.9 kB / 461.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.5475, allocations: 222.6 kB / 462 MB, free: 1.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.548, allocations: 143.9 kB / 462.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.548, allocations: 0 / 462.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002917/0.5509, allocations: 0.6393 MB / 462.8 MB, free: 1.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.551, allocations: 11.98 kB / 462.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.551, allocations: 0 / 462.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.5531, allocations: 293.5 kB / 463.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.5539, allocations: 87.83 kB / 463.2 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.5557, allocations: 1.311 MB / 464.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.5568, allocations: 95.67 kB / 464.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.5568, allocations: 12 kB / 464.6 MB, free: 15.26 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.000218/0.5571, allocations: 128.9 kB / 464.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5572, allocations: 35.56 kB / 464.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.5601, allocations: 0.6305 MB / 465.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5602, allocations: 4 kB / 465.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.5602, allocations: 0 / 465.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.5603, allocations: 0 / 465.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.5613, allocations: 468.9 kB / 465.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5613, allocations: 0 / 465.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.562, allocations: 75.88 kB / 465.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.564, allocations: 289.5 kB / 466.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/0.5641, allocations: 8 kB / 466.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.5659, allocations: 1.329 MB / 467.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5659, allocations: 0 / 467.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.5693, allocations: 0.8748 MB / 468.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.5695, allocations: 116.7 kB / 468.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.5696, allocations: 8 kB / 468.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.5704, allocations: 56.02 kB / 468.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5705, allocations: 27.95 kB / 468.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.5706, allocations: 12 kB / 468.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002791/0.5709, allocations: 175.1 kB / 468.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5709, allocations: 0 / 468.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006405/0.5715, allocations: 115.7 kB / 468.9 MB, free: 10.75 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.0002535/0.5718, allocations: 115.9 kB / 469 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.5731, allocations: 371.3 kB / 469.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5732, allocations: 0 / 469.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.5739, allocations: 199.8 kB / 469.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.5744, allocations: 49.92 kB / 469.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.5764, allocations: 0.6342 MB / 470.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.5769, allocations: 0.7998 MB / 471.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.5771, allocations: 31.42 kB / 471.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5771, allocations: 0 / 471.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of Templates: time 0.01499/0.5921, allocations: 6.807 MB / 477.9 MB, free: 1.695 MB / 346.7 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