Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.000934/0.0009345, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.001177/0.001178, allocations: 177 kB / 18.2 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 19.98 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09495, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003088/0.09808, allocations: 2.757 MB / 331.7 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.09944, allocations: 0.8123 MB / 332.5 MB, free: 160 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.09961, allocations: 4 kB / 332.5 MB, free: 156 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.09976, allocations: 47.62 kB / 332.6 MB, free: 108 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.09994, allocations: 91.22 kB / 332.7 MB, free: 16 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1003, allocations: 119.8 kB / 332.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1007, allocations: 0.5074 MB / 333.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.101, allocations: 136.8 kB / 333.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1012, allocations: 195.2 kB / 333.6 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1015, allocations: 231 kB / 333.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.1015, allocations: 28 kB / 333.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.1016, allocations: 28 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.1017, allocations: 83.67 kB / 334 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1019, allocations: 236.6 kB / 334.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.1023, allocations: 0.51 MB / 334.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1023, allocations: 0 / 334.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1023, allocations: 4 kB / 334.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1023, allocations: 4 kB / 334.7 MB, free: 13.93 MB / 286.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.001423/0.1038, allocations: 0.7487 MB / 335.5 MB, free: 13.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1038, allocations: 12.03 kB / 335.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.092e-05/0.1039, allocations: 48.38 kB / 335.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1043, allocations: 302.5 kB / 335.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1043, allocations: 29.38 kB / 335.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.1044, allocations: 36.38 kB / 335.9 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1055, allocations: 0.5437 MB / 336.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1055, allocations: 0 / 336.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.1055, allocations: 16 kB / 336.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1056, allocations: 8 kB / 336.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.107, allocations: 0.5621 MB / 337 MB, free: 11.53 MB / 286.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.002516/0.1095, allocations: 1.694 MB / 338.7 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1107, allocations: 467.6 kB / 339.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.1113, allocations: 269.4 kB / 339.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.1113, allocations: 4.328 kB / 339.4 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1114, allocations: 42.89 kB / 339.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.1114, allocations: 0 / 339.5 MB, free: 8.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.00506/0.1164, allocations: 1.556 MB / 341 MB, free: 7.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.1166, allocations: 158.2 kB / 341.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.1169, allocations: 263 kB / 341.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.117, allocations: 37.69 kB / 341.5 MB, free: 6.801 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.1172, allocations: 204.3 kB / 341.7 MB, free: 6.598 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1173, allocations: 141.9 kB / 341.8 MB, free: 6.457 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.1173, allocations: 37.69 kB / 341.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1175, allocations: 346.8 kB / 342.2 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.118, allocations: 204.7 kB / 342.4 MB, free: 5.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.1186, allocations: 306.5 kB / 342.7 MB, free: 5.531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1197, allocations: 474.5 kB / 343.2 MB, free: 5.043 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1197, allocations: 0 / 343.2 MB, free: 5.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001926/0.1217, allocations: 0.7483 MB / 343.9 MB, free: 4.281 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1217, allocations: 4 kB / 343.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1217, allocations: 4 kB / 343.9 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.123, allocations: 333.4 kB / 344.3 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1234, allocations: 87.94 kB / 344.3 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.1248, allocations: 1.366 MB / 345.7 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.1253, allocations: 99.56 kB / 345.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.1254, allocations: 19.98 kB / 345.8 MB, free: 2.32 MB / 286.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.0002366/0.1256, allocations: 157.8 kB / 346 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.1257, allocations: 31.62 kB / 346 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.128, allocations: 0.8214 MB / 346.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.128, allocations: 4 kB / 346.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.128, allocations: 0 / 346.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.128, allocations: 3.984 kB / 346.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.1285, allocations: 461 kB / 347.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1286, allocations: 4 kB / 347.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.1289, allocations: 63.95 kB / 347.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.1301, allocations: 345.3 kB / 347.7 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.1301, allocations: 15.98 kB / 347.7 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.1314, allocations: 1.374 MB / 349.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1314, allocations: 0 / 349.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.1341, allocations: 1.136 MB / 350.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1342, allocations: 108.6 kB / 350.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.1343, allocations: 8 kB / 350.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.1347, allocations: 71.91 kB / 350.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.1348, allocations: 15.97 kB / 350.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.1348, allocations: 15.94 kB / 350.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.135, allocations: 193.9 kB / 350.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.135, allocations: 0 / 350.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000452/0.1355, allocations: 107.8 kB / 350.7 MB, free: 13.24 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.0001872/0.1357, allocations: 115.2 kB / 350.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.1373, allocations: 0.5117 MB / 351.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1373, allocations: 0 / 351.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.1379, allocations: 284 kB / 351.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.1384, allocations: 48.61 kB / 351.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1402, allocations: 1.104 MB / 352.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1406, allocations: 0.7959 MB / 353.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.1408, allocations: 34.95 kB / 353.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.1409, allocations: 19.44 kB / 353.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.123e-06/0.1409, allocations: 4 kB / 353.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01016/0.1511, allocations: 5.403 MB / 359 MB, free: 4.867 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches