Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001505/0.001505, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.001175/0.001175, allocations: 190.5 kB / 19.33 MB, free: 3.715 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.46/1.46, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001233/0.001233, allocations: 51.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09303, allocations: 46.62 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006219/0.0993, allocations: 4.512 MB / 380.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2114/0.3107, allocations: 1.261 MB / 381.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.3112, allocations: 21.72 kB / 381.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.3116, allocations: 162.4 kB / 381.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009635/0.3126, allocations: 347.7 kB / 382.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.313, allocations: 195 kB / 382.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.315, allocations: 1.618 MB / 383.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.3163, allocations: 0.9323 MB / 384.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.3175, allocations: 0.6755 MB / 385.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.3189, allocations: 0.8448 MB / 386.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.3192, allocations: 175 kB / 386.6 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.3196, allocations: 174 kB / 386.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004791/0.3201, allocations: 483.4 kB / 387.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009437/0.321, allocations: 0.7836 MB / 388 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.3237, allocations: 2.238 MB / 390.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3238, allocations: 1.062 kB / 390.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3238, allocations: 0 / 390.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.138e-05/0.3238, allocations: 0 / 390.2 MB, free: 6.641 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004057/0.3279, allocations: 1.759 MB / 392 MB, free: 5.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3279, allocations: 9.594 kB / 392 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.3283, allocations: 149.2 kB / 392.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.3297, allocations: 0.9283 MB / 393.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.3298, allocations: 80.62 kB / 393.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.33, allocations: 111.4 kB / 393.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.3328, allocations: 1.547 MB / 394.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.3329, allocations: 5.688 kB / 394.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.333, allocations: 42.28 kB / 394.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.3331, allocations: 43.08 kB / 394.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.3359, allocations: 1.425 MB / 396.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.3432, allocations: 4.873 MB / 401.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.3455, allocations: 1.457 MB / 402.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.3469, allocations: 0.7422 MB / 403.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.347, allocations: 15.27 kB / 403.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.3481, allocations: 0.6045 MB / 404 MB, free: 14.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.916e-06/0.3481, allocations: 4 kB / 404 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006454/0.3546, allocations: 2.415 MB / 406.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.3547, allocations: 86.2 kB / 406.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.3565, allocations: 0.9328 MB / 407.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.3567, allocations: 42.11 kB / 407.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/0.3573, allocations: 0.5287 MB / 408 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.3575, allocations: 225.5 kB / 408.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.3578, allocations: 136.4 kB / 408.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3579, allocations: 333.4 kB / 408.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/0.3587, allocations: 413.7 kB / 409.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.3595, allocations: 0.5454 MB / 409.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.361, allocations: 0.9516 MB / 410.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3611, allocations: 1.469 kB / 410.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002845/0.3639, allocations: 1.293 MB / 411.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.364, allocations: 6.875 kB / 411.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.364, allocations: 8.812 kB / 411.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3651, allocations: 401.8 kB / 412.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.3656, allocations: 118.4 kB / 412.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.3714, allocations: 4.491 MB / 416.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.3722, allocations: 79.55 kB / 417 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.3723, allocations: 29.08 kB / 417 MB, free: 4.984 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 (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.0009844/0.3733, allocations: 0.4914 MB / 417.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.3735, allocations: 94.81 kB / 417.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.3738, allocations: 124.4 kB / 417.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3738, allocations: 8 kB / 417.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3738, allocations: 0 / 417.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3738, allocations: 3.984 kB / 417.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.3781, allocations: 2.584 MB / 420.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3781, allocations: 0 / 420.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.3785, allocations: 87.88 kB / 420.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008019/0.3793, allocations: 392.9 kB / 420.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.3794, allocations: 16 kB / 420.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005213/0.3846, allocations: 4.466 MB / 425.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3847, allocations: 4 kB / 425.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.3877, allocations: 1.955 MB / 427.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/0.3883, allocations: 287.8 kB / 427.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.3885, allocations: 12 kB / 427.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.3889, allocations: 43.95 kB / 427.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.3892, allocations: 76.53 kB / 427.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.3892, allocations: 23.98 kB / 427.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009805/0.3902, allocations: 0.6669 MB / 428.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3902, allocations: 0 / 428.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001334/0.3916, allocations: 350.9 kB / 428.7 MB, free: 9.086 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 (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.0002217/0.3918, allocations: 129.5 kB / 428.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.3943, allocations: 1.284 MB / 430.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3943, allocations: 0.875 kB / 430.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.3957, allocations: 0.802 MB / 430.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.3972, allocations: 252.4 kB / 431.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/0.4029, allocations: 2.624 MB / 433.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.4043, allocations: 1.35 MB / 435.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.4046, allocations: 63.42 kB / 435.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of SimCode: time 1.532e-06/0.4046, allocations: 0 / 435.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Templates: time 0.03021/0.4348, allocations: 22 MB / 457.2 MB, free: 12.47 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches