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.001609/0.001609, allocations: 111.4 kB / 17.98 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001957, allocations: 205.8 kB / 18.92 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.93/1.93, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 64.3 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 50.54 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005024/0.1171, allocations: 3.191 MB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1191, allocations: 0.8392 MB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.1195, allocations: 11.94 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1199, allocations: 51.55 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1203, allocations: 91.25 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.1208, allocations: 143.8 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.1215, allocations: 0.5464 MB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.1219, allocations: 164.3 kB / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.1224, allocations: 223.2 kB / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.1228, allocations: 255 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1229, allocations: 52 kB / 363.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.123, allocations: 64 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1232, allocations: 111.7 kB / 363.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.1234, allocations: 242.8 kB / 363.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.1239, allocations: 427.2 kB / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.124, allocations: 0 / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.124, allocations: 0 / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.124, allocations: 0 / 364 MB, free: 7.996 MB / 302.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.001851/0.1258, allocations: 0.8031 MB / 364.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1259, allocations: 8.031 kB / 364.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.1262, allocations: 60.36 kB / 364.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.1267, allocations: 311.4 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.1267, allocations: 29.38 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.1268, allocations: 36.38 kB / 365.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.128, allocations: 0.5048 MB / 365.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.128, allocations: 0 / 365.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.128, allocations: 20 kB / 365.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1281, allocations: 8 kB / 365.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.1294, allocations: 0.4996 MB / 366.3 MB, free: 5.617 MB / 302.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.00285/0.1323, allocations: 1.671 MB / 368 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1334, allocations: 431.5 kB / 368.4 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/0.134, allocations: 238.1 kB / 368.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.134, allocations: 16.3 kB / 368.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.1341, allocations: 46.88 kB / 368.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.1341, allocations: 0 / 368.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005284/0.1394, allocations: 1.357 MB / 370 MB, free: 1.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1395, allocations: 162.2 kB / 370.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.1399, allocations: 279 kB / 370.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.14, allocations: 29.7 kB / 370.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1402, allocations: 208.3 kB / 370.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.1403, allocations: 138 kB / 370.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1405, allocations: 78.12 kB / 370.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1407, allocations: 346.8 kB / 371.2 MB, free: 384 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/0.1412, allocations: 180.8 kB / 371.4 MB, free: 204 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2052/0.3464, allocations: 274.6 kB / 371.7 MB, free: 20.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.3476, allocations: 428.2 kB / 372.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.3476, allocations: 1.609 kB / 372.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0021/0.3497, allocations: 0.6803 MB / 372.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.3498, allocations: 13.03 kB / 372.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3498, allocations: 2.875 kB / 372.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.3513, allocations: 319.6 kB / 373.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.3517, allocations: 80.8 kB / 373.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.3528, allocations: 1.343 MB / 374.5 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.3534, allocations: 83.56 kB / 374.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.3534, allocations: 15.95 kB / 374.6 MB, free: 19.01 MB / 302.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.0001982/0.3536, allocations: 162.4 kB / 374.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.3537, allocations: 35.92 kB / 374.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.356, allocations: 0.7234 MB / 375.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.356, allocations: 4.125 kB / 375.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.356, allocations: 0.8906 kB / 375.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.356, allocations: 10.75 kB / 375.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.3566, allocations: 462.2 kB / 376 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3566, allocations: 0 / 376 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.3569, allocations: 60.28 kB / 376.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.3582, allocations: 323.6 kB / 376.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.3583, allocations: 7.516 kB / 376.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.3593, allocations: 1.364 MB / 377.8 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3593, allocations: 0 / 377.8 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.3618, allocations: 1.016 MB / 378.8 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.3619, allocations: 116.1 kB / 378.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.362, allocations: 10.94 kB / 378.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.3624, allocations: 46.12 kB / 378.9 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.3625, allocations: 27.86 kB / 379 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.3625, allocations: 14.42 kB / 379 MB, free: 16.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.3628, allocations: 195.5 kB / 379.2 MB, free: 16.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3628, allocations: 0 / 379.2 MB, free: 16.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004789/0.3633, allocations: 107.5 kB / 379.3 MB, free: 16.45 MB / 302.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.0001756/0.3634, allocations: 111.3 kB / 379.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.3649, allocations: 489.6 kB / 379.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3649, allocations: 0 / 379.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.3656, allocations: 257.8 kB / 380.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.3661, allocations: 59.39 kB / 380.2 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.3681, allocations: 1.069 MB / 381.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3685, allocations: 0.7952 MB / 382 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3686, allocations: 29.61 kB / 382.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3686, allocations: 0 / 382.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of Templates: time 0.0114/0.38, allocations: 7.181 MB / 389.3 MB, free: 12.35 MB / 302.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