Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 113.2 kB / 17.74 MB, free: 5.336 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.001502/0.001502, allocations: 188.2 kB / 18.67 MB, free: 4.41 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.303, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005874/0.3089, allocations: 4.564 MB / 406 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.3116, allocations: 1.207 MB / 407.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006283/0.3123, allocations: 27.88 kB / 407.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.3128, allocations: 158.7 kB / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.3141, allocations: 358 kB / 407.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.3147, allocations: 187.7 kB / 407.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3165, allocations: 1.615 MB / 409.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3178, allocations: 1.096 MB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009824/0.3188, allocations: 0.6891 MB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.3202, allocations: 0.8484 MB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.3206, allocations: 176 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.321, allocations: 179.9 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.3215, allocations: 474.7 kB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.3226, allocations: 0.7894 MB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.3246, allocations: 2.251 MB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3246, allocations: 0 / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3246, allocations: 4 kB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.3247, allocations: 0 / 416 MB, free: 10.2 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.003895/0.3286, allocations: 1.764 MB / 417.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3287, allocations: 12.03 kB / 417.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.329, allocations: 147.2 kB / 417.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.3306, allocations: 0.9851 MB / 418.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.3307, allocations: 82.38 kB / 419 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.3309, allocations: 108.1 kB / 419.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.3335, allocations: 1.561 MB / 420.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.3335, allocations: 0 / 420.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.3336, allocations: 43.98 kB / 420.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.3337, allocations: 42.05 kB / 420.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.3361, allocations: 1.44 MB / 422.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.3434, allocations: 4.89 MB / 427.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.3451, allocations: 1.45 MB / 428.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3464, allocations: 0.735 MB / 429.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.3465, allocations: 8.562 kB / 429.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009921/0.3475, allocations: 0.6161 MB / 429.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.444e-06/0.3475, allocations: 0 / 429.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00584/0.3533, allocations: 2.431 MB / 432.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.3534, allocations: 93.69 kB / 432.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3547, allocations: 0.9344 MB / 433.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.3548, allocations: 41.7 kB / 433.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.3553, allocations: 0.5308 MB / 433.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.3555, allocations: 228.7 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.3557, allocations: 130.6 kB / 434.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3558, allocations: 334 kB / 434.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.3565, allocations: 409.7 kB / 435 MB, free: 6.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.3573, allocations: 0.5524 MB / 435.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.3588, allocations: 0.9503 MB / 436.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.3588, allocations: 7.938 kB / 436.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002212/0.361, allocations: 1.28 MB / 437.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3611, allocations: 11.94 kB / 437.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3611, allocations: 4 kB / 437.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009282/0.362, allocations: 408.1 kB / 438.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.3626, allocations: 111.8 kB / 438.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005487/0.3681, allocations: 4.504 MB / 442.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.3687, allocations: 83.48 kB / 442.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.3688, allocations: 27.98 kB / 442.9 MB, free: 14.46 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.0007248/0.3695, allocations: 491.2 kB / 443.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.3697, allocations: 98.81 kB / 443.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.3699, allocations: 116.5 kB / 443.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.37, allocations: 8 kB / 443.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.37, allocations: 0 / 443.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.37, allocations: 3.984 kB / 443.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.3742, allocations: 2.598 MB / 446.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3742, allocations: 4 kB / 446.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.3746, allocations: 83.88 kB / 446.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008283/0.3755, allocations: 397 kB / 446.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.3755, allocations: 11.94 kB / 446.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.3809, allocations: 4.473 MB / 451.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.381, allocations: 0 / 451.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.384, allocations: 1.955 MB / 453.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.3847, allocations: 283.9 kB / 453.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.3849, allocations: 12 kB / 453.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.3854, allocations: 47.94 kB / 453.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.3856, allocations: 72.55 kB / 453.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.3857, allocations: 19.98 kB / 453.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009468/0.3867, allocations: 0.6746 MB / 454.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3867, allocations: 4 kB / 454.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3877, allocations: 350.8 kB / 454.6 MB, free: 2.535 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 (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.0001958/0.3879, allocations: 139.2 kB / 454.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3902, allocations: 1.284 MB / 456 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3902, allocations: 0 / 456 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.3915, allocations: 0.802 MB / 456.8 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.3926, allocations: 247.2 kB / 457 MB, free: 28 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.3974, allocations: 2.619 MB / 459.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/0.3984, allocations: 1.358 MB / 461 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.3987, allocations: 59.42 kB / 461.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3987, allocations: 0 / 461.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02846/0.4272, allocations: 22.2 MB / 483.3 MB, free: 5.797 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches