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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 99.36 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 47.92 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3036, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003725/0.3074, allocations: 3.165 MB / 402.6 MB, free: 30.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3086, allocations: 0.7931 MB / 403.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.3088, allocations: 4 kB / 403.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.309, allocations: 51.55 kB / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3091, allocations: 95.17 kB / 403.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.3095, allocations: 127.9 kB / 403.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.3098, allocations: 0.5268 MB / 404.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.3101, allocations: 140.8 kB / 404.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.3103, allocations: 203.3 kB / 404.6 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.3105, allocations: 243 kB / 404.8 MB, free: 28.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.3106, allocations: 39.94 kB / 404.8 MB, free: 27.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.3107, allocations: 36 kB / 404.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.3108, allocations: 95.59 kB / 405 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3109, allocations: 222.9 kB / 405.2 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.3113, allocations: 0.5192 MB / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3113, allocations: 4 kB / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3113, allocations: 0 / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3113, allocations: 8 kB / 405.7 MB, free: 27.09 MB / 298.7 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.001391/0.3127, allocations: 0.7876 MB / 406.5 MB, free: 26.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3128, allocations: 12.02 kB / 406.5 MB, free: 26.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.3129, allocations: 48.38 kB / 406.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.3132, allocations: 310.4 kB / 406.9 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3132, allocations: 33.31 kB / 406.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.3133, allocations: 36.38 kB / 406.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.3142, allocations: 0.5048 MB / 407.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3142, allocations: 0 / 407.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.3143, allocations: 19.94 kB / 407.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3143, allocations: 8 kB / 407.5 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.3155, allocations: 0.4996 MB / 408 MB, free: 24.73 MB / 298.7 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.002103/0.3176, allocations: 1.663 MB / 409.6 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009822/0.3186, allocations: 425.9 kB / 410 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.319, allocations: 245.3 kB / 410.3 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.3191, allocations: 8.312 kB / 410.3 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3191, allocations: 38.89 kB / 410.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.3191, allocations: 0 / 410.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004268/0.3234, allocations: 1.368 MB / 411.7 MB, free: 20.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3234, allocations: 158.2 kB / 411.8 MB, free: 20.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.3237, allocations: 274.9 kB / 412.1 MB, free: 20.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3238, allocations: 33.7 kB / 412.1 MB, free: 20.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.3238, allocations: 208.3 kB / 412.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.3239, allocations: 134.1 kB / 412.5 MB, free: 19.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.324, allocations: 78.03 kB / 412.6 MB, free: 19.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.3241, allocations: 346.8 kB / 412.9 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.3246, allocations: 180.8 kB / 413.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.325, allocations: 286.5 kB / 413.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.3259, allocations: 430.5 kB / 413.8 MB, free: 18.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3259, allocations: 4 kB / 413.8 MB, free: 18.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00153/0.3274, allocations: 0.6741 MB / 414.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3274, allocations: 8 kB / 414.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3275, allocations: 0 / 414.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.3286, allocations: 329.4 kB / 414.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.3289, allocations: 79.88 kB / 414.9 MB, free: 17.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009174/0.3298, allocations: 1.35 MB / 416.2 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.3303, allocations: 79.62 kB / 416.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3303, allocations: 19.98 kB / 416.3 MB, free: 15.97 MB / 298.7 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.0001514/0.3305, allocations: 153.8 kB / 416.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.3305, allocations: 35.62 kB / 416.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.3324, allocations: 0.7274 MB / 417.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3324, allocations: 8.047 kB / 417.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3324, allocations: 7.969 kB / 417.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3324, allocations: 0 / 417.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.3329, allocations: 468.9 kB / 417.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3329, allocations: 0 / 417.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.3331, allocations: 63.88 kB / 417.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.3342, allocations: 321.4 kB / 418.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.3342, allocations: 8 kB / 418.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009182/0.3351, allocations: 1.358 MB / 419.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3352, allocations: 0 / 419.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.3502, allocations: 9.568 MB / 429 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.3503, allocations: 112.7 kB / 429.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.3503, allocations: 4 kB / 429.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.3507, allocations: 52.06 kB / 429.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.3508, allocations: 28.09 kB / 429.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.3508, allocations: 8 kB / 429.2 MB, free: 2.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.351, allocations: 201.9 kB / 429.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.351, allocations: 0 / 429.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005732/0.3516, allocations: 179.7 kB / 429.6 MB, free: 2.102 MB / 298.7 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.0001702/0.3518, allocations: 111.2 kB / 429.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3529, allocations: 483.9 kB / 430.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3529, allocations: 4 kB / 430.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.3534, allocations: 251.9 kB / 430.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3538, allocations: 48.55 kB / 430.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3558, allocations: 1.616 MB / 432.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3562, allocations: 0.8196 MB / 432.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.3564, allocations: 30.97 kB / 432.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.3565, allocations: 23.44 kB / 432.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3565, allocations: 0 / 432.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of Templates: time 0.01423/0.3707, allocations: 8.453 MB / 441.4 MB, free: 6.219 MB / 314.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches