Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 195.8 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007634/0.0007634, allocations: 101.4 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3237, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.4443, allocations: 82.56 MB / 491.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4446, allocations: 71.97 kB / 492 MB, free: 8.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.4627, allocations: 6.69 MB / 498.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4627, allocations: 0 / 498.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.4627, allocations: 12 kB / 498.7 MB, free: 2.152 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.001337/0.4641, allocations: 0.733 MB / 499.4 MB, free: 1.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4641, allocations: 12.03 kB / 499.5 MB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.4644, allocations: 60.36 kB / 499.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.4649, allocations: 335.4 kB / 499.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.4649, allocations: 33.38 kB / 499.9 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.465, allocations: 40.36 kB / 499.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.466, allocations: 0.5323 MB / 0.4887 GB, free: 312 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4661, allocations: 192 / 0.4887 GB, free: 312 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.4661, allocations: 19.94 kB / 0.4887 GB, free: 292 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4661, allocations: 12 kB / 0.4887 GB, free: 280 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.4674, allocations: 0.5583 MB / 0.4893 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.4698, allocations: 1.572 MB / 0.4908 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.4709, allocations: 457.4 kB / 0.4913 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.4715, allocations: 268.5 kB / 0.4915 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.4715, allocations: 8.328 kB / 0.4915 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4716, allocations: 38.89 kB / 0.4916 GB, free: 13.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.4716, allocations: 0 / 0.4916 GB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.004417/0.476, allocations: 1.457 MB / 0.493 GB, free: 11.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.4761, allocations: 162.2 kB / 0.4931 GB, free: 11.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.4765, allocations: 266.9 kB / 0.4934 GB, free: 11.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.4766, allocations: 33.7 kB / 0.4934 GB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.4768, allocations: 212.3 kB / 0.4936 GB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.4769, allocations: 138 kB / 0.4938 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.4769, allocations: 8 kB / 0.4938 GB, free: 10.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4771, allocations: 346.7 kB / 0.4941 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.4776, allocations: 208.7 kB / 0.4943 GB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.4782, allocations: 302.5 kB / 0.4946 GB, free: 10.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000984/0.4792, allocations: 474.5 kB / 0.495 GB, free: 9.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4792, allocations: 0 / 0.495 GB, free: 9.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00215/0.4814, allocations: 0.8342 MB / 0.4959 GB, free: 8.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.4814, allocations: 8 kB / 0.4959 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4814, allocations: 0 / 0.4959 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.4827, allocations: 329.4 kB / 0.4962 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.4831, allocations: 91.88 kB / 0.4963 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.4846, allocations: 1.37 MB / 0.4976 GB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.4851, allocations: 95.66 kB / 0.4977 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.4851, allocations: 19.98 kB / 0.4977 GB, free: 6.715 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.0002602/0.4854, allocations: 157.7 kB / 0.4979 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.4855, allocations: 39.53 kB / 0.4979 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.4876, allocations: 0.7939 MB / 0.4987 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.4876, allocations: 4 kB / 0.4987 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4876, allocations: 3.938 kB / 0.4987 GB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4876, allocations: 8.172 kB / 0.4987 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.4883, allocations: 457.1 kB / 0.4991 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4883, allocations: 3.938 kB / 0.4991 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.4886, allocations: 63.95 kB / 0.4992 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.4898, allocations: 345.4 kB / 0.4995 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.4898, allocations: 4 kB / 0.4995 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.4912, allocations: 1.385 MB / 0.5009 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4912, allocations: 4 kB / 0.5009 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.4937, allocations: 1.102 MB / 0.502 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4939, allocations: 112.6 kB / 0.5021 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.4939, allocations: 12 kB / 0.5021 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.4943, allocations: 63.91 kB / 0.5021 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.4944, allocations: 31.84 kB / 0.5022 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.4944, allocations: 15.98 kB / 0.5022 GB, free: 1.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.4947, allocations: 186 kB / 0.5024 GB, free: 1.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4947, allocations: 0 / 0.5024 GB, free: 1.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.4951, allocations: 119.8 kB / 0.5025 GB, free: 1.66 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.000226/0.4954, allocations: 111.2 kB / 0.5026 GB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.4967, allocations: 0.5115 MB / 0.5031 GB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4967, allocations: 384 / 0.5031 GB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.4973, allocations: 279.6 kB / 0.5033 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.4978, allocations: 40.55 kB / 0.5034 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2124/0.7102, allocations: 1.068 MB / 0.5044 GB, free: 97.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.7106, allocations: 0.7972 MB / 0.5052 GB, free: 96.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.7109, allocations: 28.61 kB / 0.5052 GB, free: 96.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.711, allocations: 24.19 kB / 0.5053 GB, free: 96.49 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.711, allocations: 0 / 0.5053 GB, free: 96.49 MB / 378.7 MB Notification: Performance of Templates: time 0.01198/0.723, allocations: 5.287 MB / 0.5104 GB, free: 96.35 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches