Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2638, allocations: 50.54 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005315/0.2692, allocations: 4.596 MB / 413.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2715, allocations: 1.305 MB / 415.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.2718, allocations: 23.88 kB / 415.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.2721, allocations: 166.6 kB / 415.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008393/0.273, allocations: 350 kB / 415.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.2734, allocations: 219.6 kB / 415.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.2748, allocations: 1.627 MB / 417.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.2762, allocations: 1.106 MB / 418.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.277, allocations: 0.693 MB / 419.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009913/0.278, allocations: 0.8522 MB / 420.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.2782, allocations: 180 kB / 420.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.2785, allocations: 184 kB / 420.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.2789, allocations: 486.7 kB / 421 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006559/0.2795, allocations: 0.7971 MB / 421.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.2813, allocations: 2.268 MB / 424.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.2813, allocations: 4 kB / 424.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2814, allocations: 0 / 424.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.2814, allocations: 0 / 424.1 MB, free: 2.68 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002978/0.2844, allocations: 1.791 MB / 425.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2844, allocations: 11.97 kB / 425.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.2851, allocations: 207.1 kB / 426.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.2865, allocations: 1.028 MB / 427.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.2866, allocations: 82.38 kB / 427.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.2867, allocations: 104.1 kB / 427.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.2891, allocations: 1.553 MB / 428.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2892, allocations: 7.906 kB / 428.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2893, allocations: 40 kB / 428.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.2893, allocations: 46.03 kB / 428.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.2916, allocations: 1.437 MB / 430.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006141/0.2977, allocations: 4.898 MB / 435.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.2993, allocations: 1.456 MB / 436.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.3005, allocations: 0.7351 MB / 437.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.3006, allocations: 8.5 kB / 437.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009407/0.3015, allocations: 0.6122 MB / 438.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.3015, allocations: 0 / 438.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005694/0.3072, allocations: 2.442 MB / 440.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.3073, allocations: 85.77 kB / 440.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.3086, allocations: 0.9581 MB / 441.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.3087, allocations: 41.7 kB / 441.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.3091, allocations: 0.5503 MB / 442.2 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.3093, allocations: 224.8 kB / 442.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3095, allocations: 134.6 kB / 442.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3096, allocations: 333.9 kB / 442.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.3103, allocations: 417.7 kB / 443.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.311, allocations: 0.5446 MB / 443.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.3125, allocations: 0.9543 MB / 444.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3125, allocations: 3.938 kB / 444.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002071/0.3146, allocations: 1.284 MB / 446 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3146, allocations: 8 kB / 446 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3146, allocations: 4 kB / 446.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008853/0.3155, allocations: 407.5 kB / 446.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.316, allocations: 111.8 kB / 446.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/0.3213, allocations: 4.502 MB / 451.1 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.3219, allocations: 71.56 kB / 451.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.3219, allocations: 27.98 kB / 451.2 MB, free: 6.773 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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000708/0.3227, allocations: 0.499 MB / 451.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3228, allocations: 98.81 kB / 451.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.3231, allocations: 124.8 kB / 451.9 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3231, allocations: 4 kB / 451.9 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3231, allocations: 4 kB / 451.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3231, allocations: 3.984 kB / 451.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.3268, allocations: 2.59 MB / 454.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3268, allocations: 0 / 454.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.3272, allocations: 83.88 kB / 454.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007813/0.328, allocations: 396.5 kB / 454.9 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.3281, allocations: 19.94 kB / 455 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.3332, allocations: 4.475 MB / 459.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3332, allocations: 3.938 kB / 459.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.336, allocations: 1.963 MB / 461.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.3365, allocations: 287.7 kB / 461.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3366, allocations: 12 kB / 461.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.3371, allocations: 43.95 kB / 461.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.3373, allocations: 80.53 kB / 461.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.3373, allocations: 16 kB / 461.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009697/0.3383, allocations: 0.6941 MB / 462.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3383, allocations: 4 kB / 462.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009649/0.3393, allocations: 350.9 kB / 462.9 MB, free: 10.79 MB / 382.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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001893/0.3395, allocations: 127.1 kB / 463 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.3416, allocations: 1.276 MB / 464.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3416, allocations: 192 / 464.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.3428, allocations: 0.814 MB / 465.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3439, allocations: 254.8 kB / 465.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.3483, allocations: 2.634 MB / 468 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.3493, allocations: 1.396 MB / 469.4 MB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004396/0.3497, allocations: 175.4 kB / 469.5 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.3499, allocations: 63.42 kB / 469.6 MB, free: 3.957 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3499, allocations: 0 / 469.6 MB, free: 3.957 MB / 382.1 MB Notification: Performance of Templates: time 0.02914/0.3791, allocations: 18.57 MB / 488.2 MB, free: 1.602 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches