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.001496/0.001496, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001687, allocations: 202 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.5/1.5, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 63.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3524, allocations: 50.55 MB / 409.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004503/0.3569, allocations: 3.147 MB / 412.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3588, allocations: 0.8546 MB / 413.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.359, allocations: 4 kB / 413.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.3593, allocations: 63.31 kB / 413.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.3595, allocations: 118.9 kB / 413.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.36, allocations: 155.7 kB / 413.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.3606, allocations: 0.5463 MB / 414.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.361, allocations: 168.3 kB / 414.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.3613, allocations: 231.2 kB / 414.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.3616, allocations: 251 kB / 414.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.3617, allocations: 56 kB / 414.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3618, allocations: 56 kB / 414.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.3619, allocations: 119.6 kB / 415 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3621, allocations: 234.9 kB / 415.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.3627, allocations: 0.5619 MB / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3627, allocations: 0 / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3628, allocations: 0 / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3628, allocations: 0 / 415.8 MB, free: 11.2 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.001612/0.3644, allocations: 0.8031 MB / 416.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3644, allocations: 8.031 kB / 416.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.3647, allocations: 56.38 kB / 416.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.3651, allocations: 319.3 kB / 417 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.3652, allocations: 21.38 kB / 417 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.3653, allocations: 48.3 kB / 417 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.3662, allocations: 0.5009 MB / 417.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3663, allocations: 0 / 417.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.3663, allocations: 16 kB / 417.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3663, allocations: 8 kB / 417.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.3676, allocations: 0.5035 MB / 418.1 MB, free: 8.809 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.0025/0.3701, allocations: 1.663 MB / 419.7 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.3712, allocations: 423.6 kB / 420.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.3717, allocations: 248.3 kB / 420.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.3717, allocations: 12.33 kB / 420.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3718, allocations: 38.88 kB / 420.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.3718, allocations: 0 / 420.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004817/0.3766, allocations: 1.357 MB / 421.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3767, allocations: 166.2 kB / 422 MB, free: 4.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.3771, allocations: 274.9 kB / 422.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.3771, allocations: 33.7 kB / 422.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3773, allocations: 216.3 kB / 422.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3774, allocations: 130 kB / 422.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.3776, allocations: 74.12 kB / 422.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3777, allocations: 346.8 kB / 423 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.3782, allocations: 180.8 kB / 423.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.3787, allocations: 286.5 kB / 423.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.3797, allocations: 430.5 kB / 423.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3797, allocations: 0 / 423.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001727/0.3814, allocations: 0.678 MB / 424.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3814, allocations: 4 kB / 424.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3815, allocations: 4 kB / 424.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.3828, allocations: 321.4 kB / 424.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.3831, allocations: 79.88 kB / 425 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.3844, allocations: 1.347 MB / 426.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.3848, allocations: 75.53 kB / 426.4 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.3849, allocations: 16 kB / 426.4 MB, free: 56 kB / 334.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.0002501/0.3851, allocations: 165.8 kB / 426.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.3852, allocations: 31.62 kB / 426.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.3873, allocations: 0.724 MB / 427.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3873, allocations: 8 kB / 427.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3873, allocations: 0 / 427.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3873, allocations: 3.984 kB / 427.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.3879, allocations: 469 kB / 427.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3879, allocations: 4 kB / 427.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.3882, allocations: 59.89 kB / 427.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3893, allocations: 329.3 kB / 428.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3894, allocations: 4 kB / 428.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.3905, allocations: 1.354 MB / 429.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3906, allocations: 0 / 429.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.393, allocations: 1.023 MB / 430.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3931, allocations: 112.6 kB / 430.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.3932, allocations: 16 kB / 430.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.3935, allocations: 44 kB / 430.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.915e-05/0.3936, allocations: 27.75 kB / 430.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.3937, allocations: 15.94 kB / 430.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002884/0.394, allocations: 193.9 kB / 431 MB, free: 11.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.394, allocations: 0 / 431 MB, free: 11.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005/0.3945, allocations: 107.8 kB / 431.1 MB, free: 11.22 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.0002577/0.3947, allocations: 124.4 kB / 431.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.3962, allocations: 475.4 kB / 431.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.3962, allocations: 4 kB / 431.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.3968, allocations: 256.1 kB / 431.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3973, allocations: 48.8 kB / 431.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3994, allocations: 0.8583 MB / 432.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3998, allocations: 0.7995 MB / 433.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.4, allocations: 30.95 kB / 433.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.4, allocations: 23.44 kB / 433.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4, allocations: 3.938 kB / 433.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of Templates: time 0.01185/0.4119, allocations: 5.981 MB / 439.6 MB, free: 2.598 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