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.001044/0.001044, allocations: 180.9 kB / 16.39 MB, free: 5.766 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.305/1.305, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.000876, allocations: 102 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002787, allocations: 11.98 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3083, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4207, allocations: 81.81 MB / 483.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.421, allocations: 75.89 kB / 483.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.4386, allocations: 6.594 MB / 490 MB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.4387, allocations: 0 / 490 MB, free: 7.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.4387, allocations: 8 kB / 490 MB, free: 7.984 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.001375/0.4401, allocations: 0.7292 MB / 490.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4401, allocations: 11.97 kB / 490.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4402, allocations: 51.44 kB / 490.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.4408, allocations: 330.3 kB / 491.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.4408, allocations: 25 kB / 491.1 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.4409, allocations: 39.91 kB / 491.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.442, allocations: 0.5317 MB / 491.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.442, allocations: 4 kB / 491.7 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.4421, allocations: 12 kB / 491.7 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4421, allocations: 8 kB / 491.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.4434, allocations: 0.5621 MB / 492.3 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.446, allocations: 1.565 MB / 493.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.4472, allocations: 470.4 kB / 494.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.4473, allocations: 16.3 kB / 494.3 MB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.4474, allocations: 38.89 kB / 494.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.4474, allocations: 0 / 494.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.004635/0.452, allocations: 1.44 MB / 495.8 MB, free: 1.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4521, allocations: 158.2 kB / 495.9 MB, free: 1.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.4524, allocations: 234.2 kB / 496.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.4525, allocations: 37.7 kB / 496.2 MB, free: 1.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.4527, allocations: 208.3 kB / 496.4 MB, free: 1.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.4528, allocations: 141.9 kB / 496.5 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.4528, allocations: 4 kB / 496.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.453, allocations: 346.8 kB / 496.9 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.4535, allocations: 204.7 kB / 497.1 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.4541, allocations: 303.3 kB / 497.4 MB, free: 184 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.4547, allocations: 227.8 kB / 497.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4547, allocations: 4 kB / 497.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002184/0.4569, allocations: 0.8264 MB / 498.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4569, allocations: 8 kB / 498.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4569, allocations: 0 / 498.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.4583, allocations: 341.3 kB / 498.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.4586, allocations: 91.88 kB / 498.9 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.4599, allocations: 1.354 MB / 0.4885 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.4604, allocations: 95.7 kB / 0.4886 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.4605, allocations: 16 kB / 0.4886 GB, free: 13.16 MB / 378.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.0003028/0.4608, allocations: 160.7 kB / 0.4888 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/0.4608, allocations: 35.58 kB / 0.4888 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.463, allocations: 0.8056 MB / 0.4896 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.463, allocations: 4 kB / 0.4896 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.463, allocations: 0 / 0.4896 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4631, allocations: 3.984 kB / 0.4896 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.4637, allocations: 465 kB / 0.49 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4637, allocations: 3.953 kB / 0.49 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.464, allocations: 71.89 kB / 0.4901 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.4652, allocations: 341.6 kB / 0.4904 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.4653, allocations: 7.984 kB / 0.4904 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.4667, allocations: 1.389 MB / 0.4918 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4667, allocations: 4.125 kB / 0.4918 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.4692, allocations: 1.097 MB / 0.4929 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.4693, allocations: 112.7 kB / 0.493 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.4694, allocations: 12 kB / 0.493 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.4698, allocations: 59.97 kB / 0.493 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.4699, allocations: 27.95 kB / 0.4931 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.4699, allocations: 12 kB / 0.4931 GB, free: 8.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.4702, allocations: 193.9 kB / 0.4933 GB, free: 8.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4702, allocations: 0 / 0.4933 GB, free: 8.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005024/0.4707, allocations: 115.7 kB / 0.4934 GB, free: 8.098 MB / 378.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.0002189/0.471, allocations: 111.2 kB / 0.4935 GB, free: 7.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.4723, allocations: 0.5044 MB / 0.494 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4723, allocations: 4 kB / 0.494 GB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.4729, allocations: 279.9 kB / 0.4942 GB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4732, allocations: 36.55 kB / 0.4943 GB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.4751, allocations: 1.076 MB / 0.4953 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.4755, allocations: 0.8112 MB / 0.4961 GB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.4757, allocations: 26.97 kB / 0.4962 GB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.4758, allocations: 23.44 kB / 0.4962 GB, free: 5.18 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4758, allocations: 4 kB / 0.4962 GB, free: 5.176 MB / 378.7 MB Notification: Performance of Templates: time 0.229/0.7048, allocations: 5.212 MB / 0.5013 GB, free: 101.5 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