Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 108.3 kB / 17.74 MB, free: 5.316 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.001075/0.001075, allocations: 183 kB / 18.67 MB, free: 4.395 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 43.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2564, allocations: 49.42 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004841/0.2613, allocations: 3.714 MB / 405.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2629, allocations: 0.9245 MB / 406.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.2631, allocations: 8 kB / 406.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.2633, allocations: 75.22 kB / 406.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.2637, allocations: 146.7 kB / 406.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.2641, allocations: 163.8 kB / 406.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.2647, allocations: 0.607 MB / 407 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.2651, allocations: 216.1 kB / 407.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.2653, allocations: 223.2 kB / 407.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.2657, allocations: 250.9 kB / 407.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.2657, allocations: 56 kB / 407.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.2658, allocations: 56 kB / 407.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.266, allocations: 123.5 kB / 407.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.2662, allocations: 266.7 kB / 408.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.2668, allocations: 0.6422 MB / 408.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2668, allocations: 0 / 408.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2668, allocations: 0 / 408.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.2668, allocations: 0 / 408.9 MB, free: 1.395 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001396/0.2682, allocations: 0.773 MB / 409.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2683, allocations: 12.03 kB / 409.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2684, allocations: 56.28 kB / 409.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.2689, allocations: 372 kB / 410.1 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.2689, allocations: 37.38 kB / 410.1 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.269, allocations: 44.31 kB / 410.1 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.2698, allocations: 465.6 kB / 410.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.2698, allocations: 3.938 kB / 410.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.2698, allocations: 16 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2699, allocations: 12 kB / 410.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.2704, allocations: 323.8 kB / 410.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.2728, allocations: 1.84 MB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.2736, allocations: 0.6082 MB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.2742, allocations: 279 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.2742, allocations: 4.328 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004523/0.2747, allocations: 269.2 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/0.2747, allocations: 0 / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002256/0.277, allocations: 0.8422 MB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.2771, allocations: 93.09 kB / 414.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.2774, allocations: 304.6 kB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.2774, allocations: 33.7 kB / 415.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2776, allocations: 220.3 kB / 415.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.2777, allocations: 134.1 kB / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.2778, allocations: 90.17 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.278, allocations: 350.7 kB / 416 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2782, allocations: 121.1 kB / 416.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.2785, allocations: 249 kB / 416.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.2791, allocations: 379.2 kB / 416.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2791, allocations: 0 / 416.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000841/0.2799, allocations: 0.5053 MB / 417.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2799, allocations: 4 kB / 417.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.28, allocations: 7.938 kB / 417.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.2804, allocations: 157.1 kB / 417.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.2807, allocations: 63.91 kB / 417.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.2835, allocations: 2.541 MB / 420 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.2838, allocations: 43.69 kB / 420 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2838, allocations: 20 kB / 420 MB, free: 5.57 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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.2841, allocations: 178.6 kB / 420.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.2841, allocations: 43.47 kB / 420.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.2842, allocations: 52.23 kB / 420.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2842, allocations: 4 kB / 420.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2843, allocations: 0 / 420.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2843, allocations: 11.92 kB / 420.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.2857, allocations: 1.016 MB / 421.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2858, allocations: 4 kB / 421.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2859, allocations: 31.98 kB / 421.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.2863, allocations: 148.7 kB / 421.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.2864, allocations: 11.98 kB / 421.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.289, allocations: 2.542 MB / 424.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.289, allocations: 0 / 424.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2901, allocations: 0.7131 MB / 424.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.2903, allocations: 156.5 kB / 424.9 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.2903, allocations: 8 kB / 424.9 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2906, allocations: 20 kB / 425 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.2907, allocations: 31.94 kB / 425 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.2907, allocations: 16 kB / 425 MB, free: 348 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.2909, allocations: 219.1 kB / 425.2 MB, free: 128 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2909, allocations: 0 / 425.2 MB, free: 128 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005758/0.2915, allocations: 143.7 kB / 425.4 MB, free: 15.98 MB / 350.1 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001472/0.2917, allocations: 123.8 kB / 425.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009194/0.2926, allocations: 0.5415 MB / 426 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2926, allocations: 4.188 kB / 426 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.2931, allocations: 378.3 kB / 426.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.2936, allocations: 98.2 kB / 426.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2951, allocations: 0.8838 MB / 427.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.2955, allocations: 0.824 MB / 428.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.2956, allocations: 31.42 kB / 428.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2956, allocations: 3.938 kB / 428.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Templates: time 0.009353/0.305, allocations: 7.086 MB / 435.3 MB, free: 5.98 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches