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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001106, allocations: 111.1 kB / 17.74 MB, free: 5.301 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.00113/0.00113, allocations: 188.2 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2458, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006398/0.2523, allocations: 4.733 MB / 406.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.2551, allocations: 1.285 MB / 407.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.2558, allocations: 27.88 kB / 407.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.2567, allocations: 214.4 kB / 407.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.2578, allocations: 354 kB / 408 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.2584, allocations: 207.7 kB / 408.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.2602, allocations: 1.533 MB / 409.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.2615, allocations: 0.9625 MB / 410.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009224/0.2625, allocations: 0.6463 MB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.2637, allocations: 0.7588 MB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.2641, allocations: 167.9 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.2645, allocations: 164 kB / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005057/0.2651, allocations: 442.8 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.2661, allocations: 0.7234 MB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.2678, allocations: 2.091 MB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2679, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2679, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.2679, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 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.002662/0.2706, allocations: 1.638 MB / 417.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2706, allocations: 8.031 kB / 417.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.2708, allocations: 139.2 kB / 417.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.272, allocations: 0.9385 MB / 418.4 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.2721, allocations: 74.38 kB / 418.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.2723, allocations: 104.1 kB / 418.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.2745, allocations: 1.439 MB / 420 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.2745, allocations: 11.92 kB / 420 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.2746, allocations: 40 kB / 420.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.2747, allocations: 42 kB / 420.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.2766, allocations: 1.296 MB / 421.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005236/0.2818, allocations: 4.296 MB / 425.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.2836, allocations: 1.955 MB / 427.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.2848, allocations: 0.7469 MB / 428.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.2849, allocations: 8.656 kB / 428.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008771/0.2858, allocations: 0.5975 MB / 429 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.2858, allocations: 0 / 429 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006874/0.2927, allocations: 2.812 MB / 431.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/0.2928, allocations: 119.4 kB / 432 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2939, allocations: 0.8169 MB / 432.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/0.294, allocations: 41.7 kB / 432.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.2945, allocations: 495.7 kB / 433.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.2947, allocations: 240.5 kB / 433.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.2949, allocations: 138.6 kB / 433.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2951, allocations: 390.8 kB / 434 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.2957, allocations: 393.7 kB / 434.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.2964, allocations: 0.5494 MB / 435 MB, free: 6.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.2976, allocations: 0.9113 MB / 435.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2976, allocations: 7.938 kB / 435.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00201/0.2997, allocations: 1.303 MB / 437.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2997, allocations: 7.938 kB / 437.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2997, allocations: 4 kB / 437.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3008, allocations: 472.4 kB / 437.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.3011, allocations: 91.88 kB / 437.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006999/0.3082, allocations: 5.571 MB / 443.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.3088, allocations: 87.56 kB / 443.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.3089, allocations: 31.94 kB / 443.5 MB, free: 13.92 MB / 366.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_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.0006941/0.3096, allocations: 464.7 kB / 443.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.3098, allocations: 86.97 kB / 444 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3101, allocations: 112.5 kB / 444.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3101, allocations: 8 kB / 444.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3101, allocations: 0 / 444.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.3102, allocations: 3.984 kB / 444.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.3142, allocations: 2.587 MB / 446.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3143, allocations: 3.984 kB / 446.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.3146, allocations: 67.89 kB / 446.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009675/0.3155, allocations: 460.3 kB / 447.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.3156, allocations: 12 kB / 447.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006778/0.3224, allocations: 5.506 MB / 452.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3224, allocations: 0 / 452.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.3255, allocations: 1.913 MB / 454.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.326, allocations: 271.9 kB / 454.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.3262, allocations: 16 kB / 454.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.3267, allocations: 39.95 kB / 455 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.3269, allocations: 72.55 kB / 455 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.3269, allocations: 23.98 kB / 455.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008217/0.3278, allocations: 0.5926 MB / 455.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3278, allocations: 3.938 kB / 455.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009947/0.3288, allocations: 339.1 kB / 456 MB, free: 1.109 MB / 366.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_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.000198/0.329, allocations: 139 kB / 456.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.3311, allocations: 1.271 MB / 457.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3312, allocations: 8.125 kB / 457.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.3324, allocations: 0.8162 MB / 458.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.3336, allocations: 278.7 kB / 458.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.3377, allocations: 2.327 MB / 460.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000929/0.3386, allocations: 1.296 MB / 462.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.3388, allocations: 55.42 kB / 462.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3388, allocations: 4 kB / 462.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Templates: time 0.02617/0.365, allocations: 20.68 MB / 482.9 MB, free: 6.238 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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