Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 93.17 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 174 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002777, allocations: 13.16 kB / 301.4 MB, free: 6.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.112, allocations: 50.41 MB / 351.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003426/0.1155, allocations: 2.787 MB / 354.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.117, allocations: 0.7807 MB / 355.4 MB, free: 136 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.1173, allocations: 11.94 kB / 355.4 MB, free: 124 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.1175, allocations: 43.62 kB / 355.5 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.1177, allocations: 91.23 kB / 355.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1181, allocations: 127.8 kB / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00053/0.1187, allocations: 0.5151 MB / 356.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.119, allocations: 148.8 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1193, allocations: 191.3 kB / 356.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1196, allocations: 227 kB / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.1197, allocations: 28 kB / 356.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1198, allocations: 36 kB / 356.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.1199, allocations: 79.67 kB / 356.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.1201, allocations: 244.5 kB / 357.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.1207, allocations: 0.5062 MB / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1207, allocations: 0 / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1207, allocations: 0 / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1207, allocations: 0 / 357.6 MB, free: 13.89 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.001619/0.1223, allocations: 0.7526 MB / 358.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1224, allocations: 12.03 kB / 358.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1225, allocations: 52.38 kB / 358.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.1229, allocations: 310.4 kB / 358.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.1229, allocations: 33.38 kB / 358.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.123, allocations: 36.38 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1241, allocations: 0.536 MB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1241, allocations: 0 / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.1242, allocations: 16 kB / 359.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1242, allocations: 12 kB / 359.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.1256, allocations: 0.5621 MB / 359.9 MB, free: 11.47 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.002573/0.1282, allocations: 1.702 MB / 361.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1294, allocations: 470.8 kB / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.1299, allocations: 272.1 kB / 362.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.13, allocations: 4.328 kB / 362.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.13, allocations: 38.89 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.543e-06/0.13, allocations: 4 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005196/0.1352, allocations: 1.549 MB / 364 MB, free: 7.234 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.1353, allocations: 162.2 kB / 364.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.1357, allocations: 274.8 kB / 364.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.1357, allocations: 33.7 kB / 364.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1359, allocations: 220.3 kB / 364.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.136, allocations: 126.1 kB / 364.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.1361, allocations: 41.7 kB / 364.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1362, allocations: 346.8 kB / 365.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.1368, allocations: 208.7 kB / 365.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.1374, allocations: 294.5 kB / 365.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.1385, allocations: 478.5 kB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1385, allocations: 0 / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001963/0.1404, allocations: 0.7483 MB / 366.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1405, allocations: 8 kB / 366.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1405, allocations: 0 / 366.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.1419, allocations: 337.4 kB / 367.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1422, allocations: 83.88 kB / 367.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1437, allocations: 1.37 MB / 368.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.1443, allocations: 95.61 kB / 368.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.1444, allocations: 16 kB / 368.7 MB, free: 2.25 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.0003094/0.1447, allocations: 157.8 kB / 368.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1448, allocations: 39.53 kB / 368.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.1471, allocations: 0.825 MB / 369.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1471, allocations: 4 kB / 369.8 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1472, allocations: 0 / 369.8 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1472, allocations: 0 / 369.8 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.1477, allocations: 461 kB / 370.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1478, allocations: 8.172 kB / 370.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.1481, allocations: 64 kB / 370.3 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.1493, allocations: 353.2 kB / 370.6 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.1494, allocations: 4 kB / 370.6 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.228/0.3774, allocations: 1.375 MB / 372 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3774, allocations: 0.5 kB / 372 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/0.3807, allocations: 1.132 MB / 373.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3808, allocations: 113.5 kB / 373.2 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.68e-05/0.3809, allocations: 10.09 kB / 373.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.3813, allocations: 64.39 kB / 373.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3815, allocations: 23.77 kB / 373.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.3815, allocations: 16.55 kB / 373.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002978/0.3818, allocations: 191.3 kB / 373.5 MB, free: 24.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3818, allocations: 0 / 373.5 MB, free: 24.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004828/0.3823, allocations: 113.7 kB / 373.7 MB, free: 24.12 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.0002016/0.3825, allocations: 110.6 kB / 373.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.3841, allocations: 0.5097 MB / 374.3 MB, free: 24.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3841, allocations: 0.625 kB / 374.3 MB, free: 24.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.3848, allocations: 279.2 kB / 374.5 MB, free: 24.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.3853, allocations: 46.7 kB / 374.6 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3872, allocations: 1.114 MB / 375.7 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3875, allocations: 0.7991 MB / 376.5 MB, free: 22.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.3877, allocations: 30.92 kB / 376.5 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.3878, allocations: 23.95 kB / 376.6 MB, free: 22.72 MB / 302.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3878, allocations: 3.719 kB / 376.6 MB, free: 22.72 MB / 302.1 MB Notification: Performance of Templates: time 0.01226/0.4, allocations: 5.409 MB / 382 MB, free: 21.8 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches