Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001227, allocations: 188.9 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.493/1.493, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.000969/0.0009689, allocations: 106.3 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 43.94 kB / 350.1 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2216, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004698/0.2264, allocations: 4.726 MB / 404.2 MB, free: 28.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.2285, allocations: 1.281 MB / 405.5 MB, free: 27.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.2288, allocations: 27.88 kB / 405.5 MB, free: 27.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.2294, allocations: 174.9 kB / 405.7 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.23, allocations: 334.3 kB / 406 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.2303, allocations: 167.9 kB / 406.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.2313, allocations: 1.783 MB / 408 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.2321, allocations: 0.8117 MB / 408.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.2325, allocations: 0.5292 MB / 409.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.2332, allocations: 0.7236 MB / 410 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.2333, allocations: 92 kB / 410.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.2335, allocations: 92 kB / 410.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.2337, allocations: 362.8 kB / 410.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.2342, allocations: 0.6452 MB / 411.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2352, allocations: 1.994 MB / 413.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2352, allocations: 0 / 413.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2352, allocations: 0 / 413.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.2353, allocations: 0 / 413.2 MB, free: 19.59 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002391/0.2377, allocations: 1.631 MB / 414.8 MB, free: 17.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2377, allocations: 12.03 kB / 414.8 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.2379, allocations: 139.3 kB / 415 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.239, allocations: 0.9073 MB / 415.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.239, allocations: 78.36 kB / 416 MB, free: 16.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.2392, allocations: 104.1 kB / 416.1 MB, free: 16.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.2409, allocations: 1.439 MB / 417.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.2409, allocations: 4 kB / 417.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.241, allocations: 40 kB / 417.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.2411, allocations: 41.98 kB / 417.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.2427, allocations: 1.3 MB / 418.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.2475, allocations: 4.339 MB / 423.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.2489, allocations: 1.97 MB / 425.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006811/0.2496, allocations: 0.6143 MB / 425.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.2497, allocations: 8.656 kB / 425.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007094/0.2504, allocations: 0.5983 MB / 426.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=75): time 3.226e-06/0.2504, allocations: 0 / 426.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.006214/0.2566, allocations: 2.746 MB / 429.2 MB, free: 3.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.2567, allocations: 111.5 kB / 429.3 MB, free: 2.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.2575, allocations: 0.8246 MB / 430.1 MB, free: 2.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.2576, allocations: 41.7 kB / 430.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.2579, allocations: 483.8 kB / 430.6 MB, free: 1.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.258, allocations: 244.5 kB / 430.9 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.2582, allocations: 134.6 kB / 431 MB, free: 1.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2583, allocations: 402.7 kB / 431.4 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.2588, allocations: 389.7 kB / 431.8 MB, free: 476 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.2595, allocations: 0.5454 MB / 432.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.2608, allocations: 0.9114 MB / 433.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2609, allocations: 0 / 433.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002071/0.2629, allocations: 1.315 MB / 434.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.263, allocations: 12.03 kB / 434.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.263, allocations: 4 kB / 434.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.2641, allocations: 468.3 kB / 435 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.2645, allocations: 99.88 kB / 435.1 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006435/0.2709, allocations: 5.127 MB / 440.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.2715, allocations: 91.39 kB / 440.3 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.2716, allocations: 24 kB / 440.3 MB, free: 7.617 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006462/0.2722, allocations: 463.1 kB / 440.8 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2724, allocations: 90.98 kB / 440.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.2726, allocations: 108.6 kB / 441 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2726, allocations: 8 kB / 441 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2726, allocations: 4 kB / 441 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2726, allocations: 3.984 kB / 441 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.2765, allocations: 2.615 MB / 443.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2765, allocations: 0 / 443.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.2768, allocations: 59.89 kB / 443.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009605/0.2778, allocations: 464.8 kB / 444.1 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.2779, allocations: 19.98 kB / 444.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006344/0.2842, allocations: 5.061 MB / 449.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2843, allocations: 0 / 449.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0163/0.3006, allocations: 11.93 MB / 461.1 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.3011, allocations: 271.9 kB / 461.4 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3012, allocations: 15.98 kB / 461.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.3016, allocations: 47.89 kB / 461.5 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.3018, allocations: 68.55 kB / 461.5 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.3019, allocations: 23.94 kB / 461.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007117/0.3026, allocations: 0.5888 MB / 462.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3026, allocations: 4 kB / 462.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001192/0.3038, allocations: 455 kB / 462.6 MB, free: 0.8242 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.304, allocations: 131.2 kB / 462.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.3061, allocations: 1.27 MB / 464 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3061, allocations: 0.875 kB / 464 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.3074, allocations: 0.8241 MB / 464.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.3087, allocations: 251.6 kB / 465.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.314, allocations: 3.613 MB / 468.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.3152, allocations: 1.353 MB / 470 MB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.3157, allocations: 143.3 kB / 470.2 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3159, allocations: 55.42 kB / 470.2 MB, free: 9.059 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3159, allocations: 0 / 470.2 MB, free: 9.059 MB / 346.7 MB Notification: Performance of Templates: time 0.03316/0.3491, allocations: 21.75 MB / 492 MB, free: 3.574 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches