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.001821/0.001821, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, allocations: 50.55 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004914/0.3775, allocations: 3.155 MB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3794, allocations: 0.839 MB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3796, allocations: 7.938 kB / 414 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3798, allocations: 71.36 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.38, allocations: 106.9 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.3805, allocations: 159.7 kB / 414.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.3811, allocations: 0.5463 MB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.3815, allocations: 164.3 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.3819, allocations: 235.2 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.3822, allocations: 255 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.3823, allocations: 52 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.3824, allocations: 63.98 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3826, allocations: 111.6 kB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.3828, allocations: 234.9 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006702/0.3835, allocations: 0.5656 MB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.3835, allocations: 0 / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3835, allocations: 0 / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.3835, allocations: 0 / 416.5 MB, free: 11.02 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.001676/0.3852, allocations: 0.7954 MB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3853, allocations: 8.031 kB / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.3855, allocations: 56.36 kB / 417.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.3861, allocations: 327.3 kB / 417.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.3861, allocations: 33.31 kB / 417.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.748e-05/0.3862, allocations: 36.38 kB / 417.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.3874, allocations: 0.497 MB / 418.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.3874, allocations: 4 kB / 418.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.3875, allocations: 15.98 kB / 418.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3875, allocations: 12 kB / 418.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.3888, allocations: 0.4996 MB / 418.8 MB, free: 8.637 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.002863/0.3917, allocations: 1.651 MB / 420.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.3928, allocations: 431.5 kB / 420.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.3933, allocations: 241.4 kB / 421.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.3933, allocations: 12.3 kB / 421.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.3934, allocations: 42.89 kB / 421.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.3934, allocations: 0 / 421.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004973/0.3984, allocations: 1.365 MB / 422.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.3985, allocations: 158.2 kB / 422.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.3989, allocations: 278.8 kB / 422.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.3989, allocations: 33.7 kB / 423 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3991, allocations: 208.3 kB / 423.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3992, allocations: 138 kB / 423.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3994, allocations: 74.14 kB / 423.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3996, allocations: 346.8 kB / 423.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.4001, allocations: 184.7 kB / 423.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.4007, allocations: 282.5 kB / 424.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.4017, allocations: 422.6 kB / 424.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/0.4017, allocations: 4 kB / 424.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001825/0.4035, allocations: 0.6781 MB / 425.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4036, allocations: 7.938 kB / 425.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4036, allocations: 4 kB / 425.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4049, allocations: 325.4 kB / 425.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.4053, allocations: 75.88 kB / 425.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.4066, allocations: 1.347 MB / 427 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.4071, allocations: 75.47 kB / 427.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.4071, allocations: 20.12 kB / 427.1 MB, free: 15.88 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.0002149/0.4073, allocations: 160.7 kB / 427.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.4074, allocations: 39.56 kB / 427.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.4096, allocations: 0.7202 MB / 428 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.4097, allocations: 3.984 kB / 428 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4097, allocations: 4 kB / 428 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4098, allocations: 116.6 kB / 428.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.4098, allocations: 7.984 kB / 428.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.4102, allocations: 39.95 kB / 428.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.4103, allocations: 27.91 kB / 428.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002532/0.4129, allocations: 0.7983 MB / 429 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001624/0.4145, allocations: 0.8551 MB / 429.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004756/0.415, allocations: 187.9 kB / 430 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.4152, allocations: 197.9 kB / 430.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Backend: time 1.112e-06/0.4153, allocations: 0 / 430.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.4165, allocations: 400.8 kB / 430.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.001742/0.4183, allocations: 1.371 MB / 432 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Templates: time 0.01115/0.4295, allocations: 6.06 MB / 438.1 MB, free: 4.801 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches