Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.0009678/0.0009679, allocations: 105.7 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007625/0.0007625, allocations: 39.94 kB / 350.1 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2126, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003656/0.2163, allocations: 3.689 MB / 403.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2176, allocations: 0.9958 MB / 404.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.2178, allocations: 15.94 kB / 404.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.218, allocations: 83.34 kB / 404.3 MB, free: 28.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.2185, allocations: 206.9 kB / 404.5 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.2188, allocations: 123.8 kB / 404.6 MB, free: 28.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.2194, allocations: 1.067 MB / 405.7 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.2199, allocations: 0.5017 MB / 406.2 MB, free: 26.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.2202, allocations: 350.6 kB / 406.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.2206, allocations: 474.1 kB / 407 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.2207, allocations: 56 kB / 407 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2208, allocations: 60 kB / 407.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2209, allocations: 235.2 kB / 407.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.2212, allocations: 433.7 kB / 407.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.2218, allocations: 1.22 MB / 409 MB, free: 23.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2218, allocations: 0 / 409 MB, free: 23.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2218, allocations: 0 / 409 MB, free: 23.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2219, allocations: 0 / 409 MB, free: 23.85 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001666/0.2235, allocations: 1.181 MB / 410.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2236, allocations: 8.031 kB / 410.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2237, allocations: 99.73 kB / 410.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.2244, allocations: 0.608 MB / 410.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2244, allocations: 53.25 kB / 410.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.2245, allocations: 68 kB / 411 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.2256, allocations: 0.9189 MB / 411.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2257, allocations: 4 kB / 411.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.2257, allocations: 27.98 kB / 411.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.2258, allocations: 33.25 kB / 412 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.2268, allocations: 0.7936 MB / 412.7 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.2297, allocations: 2.803 MB / 415.5 MB, free: 17.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.2304, allocations: 0.7449 MB / 416.3 MB, free: 16.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.2308, allocations: 345.2 kB / 416.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.2309, allocations: 4.328 kB / 416.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004481/0.2313, allocations: 389.8 kB / 417 MB, free: 15.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.973e-06/0.2313, allocations: 0 / 417 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002273/0.2336, allocations: 1.229 MB / 418.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2337, allocations: 110.8 kB / 418.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.2341, allocations: 0.5723 MB / 418.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.2342, allocations: 33.7 kB / 419 MB, free: 13.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.2343, allocations: 359.8 kB / 419.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.2344, allocations: 138 kB / 419.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2345, allocations: 94.16 kB / 419.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.2346, allocations: 362.8 kB / 419.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.2349, allocations: 217 kB / 420.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2352, allocations: 357.7 kB / 420.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.2358, allocations: 0.5654 MB / 421 MB, free: 11.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2358, allocations: 0 / 421 MB, free: 11.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009237/0.2368, allocations: 0.7597 MB / 421.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2368, allocations: 8 kB / 421.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2368, allocations: 4 kB / 421.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.2372, allocations: 209.5 kB / 422 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.2376, allocations: 75.83 kB / 422.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/0.2413, allocations: 2.771 MB / 424.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.2418, allocations: 51.61 kB / 424.9 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.2419, allocations: 20 kB / 424.9 MB, free: 7.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004914/0.2424, allocations: 333.7 kB / 425.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2425, allocations: 67.25 kB / 425.3 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.2427, allocations: 61.28 kB / 425.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2427, allocations: 4 kB / 425.4 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2427, allocations: 4 kB / 425.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.2427, allocations: 3.984 kB / 425.4 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.2459, allocations: 1.737 MB / 427.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2459, allocations: 0 / 427.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.2462, allocations: 55.92 kB / 427.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.2468, allocations: 188.7 kB / 427.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.2469, allocations: 11.98 kB / 427.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.2501, allocations: 2.648 MB / 430 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2502, allocations: 4 kB / 430 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.2612, allocations: 6.251 MB / 436.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.2616, allocations: 196.3 kB / 436.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2617, allocations: 8 kB / 436.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.2621, allocations: 23.97 kB / 436.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.2623, allocations: 47.94 kB / 436.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.2624, allocations: 15.98 kB / 436.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007063/0.2631, allocations: 414.8 kB / 437 MB, free: 10.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2631, allocations: 0 / 437 MB, free: 10.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001469/0.2646, allocations: 259.4 kB / 437.2 MB, free: 10.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002141/0.2648, allocations: 128.9 kB / 437.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.2666, allocations: 0.7243 MB / 438.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2666, allocations: 1 kB / 438.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.2676, allocations: 470.3 kB / 438.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2687, allocations: 130.6 kB / 438.6 MB, free: 8.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.2734, allocations: 2.322 MB / 441 MB, free: 6.562 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/0.2743, allocations: 1.09 MB / 442.1 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.2747, allocations: 92.73 kB / 442.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.2749, allocations: 39.42 kB / 442.2 MB, free: 5.312 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2749, allocations: 0 / 442.2 MB, free: 5.312 MB / 314.7 MB Notification: Performance of Templates: time 0.02471/0.2996, allocations: 10.65 MB / 452.8 MB, free: 10.82 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches