Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 105.5 kB / 17.73 MB, free: 5.238 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.001384/0.001384, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.478/1.478, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001919/0.001919, allocations: 51.94 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 46.61 MB / 375.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.1975/0.3009, allocations: 4.665 MB / 379.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.3036, allocations: 1.34 MB / 381.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.3041, allocations: 26.78 kB / 381.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.305, allocations: 220.4 kB / 381.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.3058, allocations: 361.1 kB / 381.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.3062, allocations: 207.6 kB / 382 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.308, allocations: 1.55 MB / 383.5 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.3093, allocations: 0.9159 MB / 384.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.3105, allocations: 0.6356 MB / 385.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.3118, allocations: 0.7587 MB / 385.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.312, allocations: 166 kB / 386 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.3123, allocations: 161.9 kB / 386.1 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.3127, allocations: 439 kB / 386.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007724/0.3135, allocations: 0.7202 MB / 387.3 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.3159, allocations: 2.082 MB / 389.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3159, allocations: 0 / 389.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3159, allocations: 0.6562 kB / 389.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.797e-05/0.316, allocations: 1.219 kB / 389.4 MB, free: 6.691 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003162/0.3191, allocations: 1.623 MB / 391 MB, free: 5.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3192, allocations: 9.938 kB / 391 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.3195, allocations: 136.1 kB / 391.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3208, allocations: 0.8774 MB / 392 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.3208, allocations: 75.44 kB / 392.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.321, allocations: 101.4 kB / 392.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.3235, allocations: 1.434 MB / 393.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.3236, allocations: 1.922 kB / 393.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/0.3237, allocations: 41.33 kB / 393.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.3237, allocations: 41.05 kB / 393.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.3258, allocations: 1.289 MB / 395 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005792/0.3316, allocations: 4.274 MB / 399.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3333, allocations: 1.967 MB / 401.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3346, allocations: 0.7375 MB / 402 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.3346, allocations: 15.7 kB / 402 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009153/0.3356, allocations: 0.5959 MB / 402.6 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.474e-06/0.3356, allocations: 0 / 402.6 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.00723/0.3428, allocations: 2.826 MB / 405.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.3429, allocations: 115.7 kB / 405.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.344, allocations: 0.8202 MB / 406.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/0.3441, allocations: 42.45 kB / 406.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.3445, allocations: 481.8 kB / 406.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.3447, allocations: 245.8 kB / 407.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.3449, allocations: 137 kB / 407.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3451, allocations: 394.2 kB / 407.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.3458, allocations: 398.5 kB / 408 MB, free: 11.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/0.3466, allocations: 0.5497 MB / 408.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.3478, allocations: 0.9202 MB / 409.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3478, allocations: 0 / 409.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00216/0.35, allocations: 1.311 MB / 410.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.35, allocations: 6.531 kB / 410.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3501, allocations: 5.312 kB / 410.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.3512, allocations: 470.8 kB / 411.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3516, allocations: 98.12 kB / 411.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00727/0.3589, allocations: 5.567 MB / 416.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/0.3596, allocations: 87.45 kB / 417 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.3597, allocations: 31.98 kB / 417 MB, free: 4.324 MB / 334.1 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0009083/0.3607, allocations: 463.1 kB / 417.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3609, allocations: 83.06 kB / 417.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.3612, allocations: 108.5 kB / 417.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3612, allocations: 8 kB / 417.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3613, allocations: 4 kB / 417.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.3613, allocations: 3.984 kB / 417.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/0.3659, allocations: 2.599 MB / 420.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3659, allocations: 0 / 420.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.3662, allocations: 63.91 kB / 420.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009695/0.3672, allocations: 464.6 kB / 420.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.3673, allocations: 12.12 kB / 420.8 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006848/0.3741, allocations: 5.498 MB / 426.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3742, allocations: 0 / 426.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.3768, allocations: 1.92 MB / 428.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.3773, allocations: 275.8 kB / 428.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3774, allocations: 16 kB / 428.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.3778, allocations: 35.95 kB / 428.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.378, allocations: 80.53 kB / 428.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.3781, allocations: 16 kB / 428.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008049/0.3789, allocations: 0.5888 MB / 429.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3789, allocations: 0 / 429.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001044/0.38, allocations: 347 kB / 429.6 MB, free: 7.547 MB / 350.1 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0002005/0.3802, allocations: 123.3 kB / 429.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.3823, allocations: 1.282 MB / 431 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3823, allocations: 0 / 431 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.3836, allocations: 0.8208 MB / 431.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3847, allocations: 285.1 kB / 432.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.3887, allocations: 2.311 MB / 434.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.3896, allocations: 1.322 MB / 435.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.39, allocations: 143.3 kB / 435.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3901, allocations: 55.42 kB / 435.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3901, allocations: 4 kB / 435.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Templates: time 0.03025/0.4204, allocations: 19.78 MB / 455.7 MB, free: 13.32 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches