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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002119/0.002119, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3936, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004781/0.3984, allocations: 3.155 MB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.4008, allocations: 0.8507 MB / 413.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.401, allocations: 11.94 kB / 413.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.4013, allocations: 59.38 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.4016, allocations: 114.9 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.4022, allocations: 159.7 kB / 413.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007394/0.403, allocations: 0.5502 MB / 414.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.4034, allocations: 168.3 kB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.4038, allocations: 227.2 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.4042, allocations: 255 kB / 414.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.429e-05/0.4043, allocations: 52 kB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.4044, allocations: 56 kB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.4046, allocations: 115.6 kB / 415 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.4048, allocations: 242.9 kB / 415.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.4055, allocations: 0.5539 MB / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4055, allocations: 0 / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4055, allocations: 8 kB / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.4055, allocations: 0 / 415.8 MB, free: 11.04 MB / 334.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.001635/0.4071, allocations: 0.7876 MB / 416.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4072, allocations: 12.03 kB / 416.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.4074, allocations: 64.36 kB / 416.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.408, allocations: 319.2 kB / 417 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.408, allocations: 29.38 kB / 417 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.4081, allocations: 36.38 kB / 417 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4091, allocations: 0.5009 MB / 417.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4091, allocations: 0 / 417.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.4092, allocations: 16 kB / 417.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4092, allocations: 8 kB / 417.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.4104, allocations: 0.5074 MB / 418.1 MB, free: 8.652 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.4131, allocations: 1.655 MB / 419.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4142, allocations: 431.5 kB / 420.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.4147, allocations: 246.5 kB / 420.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.4148, allocations: 12.31 kB / 420.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4148, allocations: 38.89 kB / 420.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.4148, allocations: 0 / 420.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004777/0.4196, allocations: 1.361 MB / 421.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.4198, allocations: 162.2 kB / 422 MB, free: 4.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.4203, allocations: 278.9 kB / 422.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.4203, allocations: 29.7 kB / 422.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.4206, allocations: 212.3 kB / 422.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.4207, allocations: 138 kB / 422.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.4209, allocations: 78.12 kB / 422.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.4212, allocations: 342.8 kB / 423 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.4217, allocations: 180.7 kB / 423.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.4224, allocations: 286.5 kB / 423.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4235, allocations: 422.6 kB / 423.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4235, allocations: 0 / 423.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001863/0.4254, allocations: 0.6819 MB / 424.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4254, allocations: 8 kB / 424.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4254, allocations: 0 / 424.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.4268, allocations: 321.4 kB / 424.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.4272, allocations: 79.88 kB / 425 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.4285, allocations: 1.347 MB / 426.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.429, allocations: 83.66 kB / 426.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.4291, allocations: 16 kB / 426.4 MB, free: 15.89 MB / 350.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 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.4293, allocations: 153.7 kB / 426.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.4294, allocations: 35.62 kB / 426.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.4317, allocations: 0.7318 MB / 427.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.4317, allocations: 4 kB / 427.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4317, allocations: 0 / 427.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4318, allocations: 3.984 kB / 427.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.4325, allocations: 465 kB / 427.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.4325, allocations: 4 kB / 427.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.4328, allocations: 63.89 kB / 427.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4341, allocations: 317.4 kB / 428.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.4342, allocations: 15.98 kB / 428.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4357, allocations: 1.355 MB / 429.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4357, allocations: 0 / 429.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.4383, allocations: 1.015 MB / 430.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.4384, allocations: 116.7 kB / 430.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.4385, allocations: 12 kB / 430.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.4389, allocations: 39.95 kB / 430.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.439, allocations: 31.67 kB / 430.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.4391, allocations: 16 kB / 430.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.4394, allocations: 189.9 kB / 430.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.555e-06/0.4394, allocations: 4 kB / 430.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.4399, allocations: 119.7 kB / 431.1 MB, free: 11.06 MB / 350.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 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002519/0.4402, allocations: 112.5 kB / 431.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.4416, allocations: 475.3 kB / 431.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4416, allocations: 0 / 431.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.4423, allocations: 256.3 kB / 431.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.4428, allocations: 56.5 kB / 431.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.4448, allocations: 0.8693 MB / 432.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.4453, allocations: 0.7956 MB / 433.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.4455, allocations: 38.95 kB / 433.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.4455, allocations: 19.44 kB / 433.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4455, allocations: 0 / 433.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of Templates: time 0.01248/0.458, allocations: 5.976 MB / 439.6 MB, free: 2.441 MB / 350.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches