Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 113.9 kB / 17.73 MB, free: 5.234 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.001381/0.001381, allocations: 187.1 kB / 18.66 MB, free: 4.309 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.826/1.826, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001243/0.001243, allocations: 47.88 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 46.6 MB / 375.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004982/0.1135, allocations: 3.624 MB / 378.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2139/0.3275, allocations: 1.04 MB / 379.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/0.3281, allocations: 17.69 kB / 379.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.3285, allocations: 110.3 kB / 379.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008917/0.3294, allocations: 225.3 kB / 380.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.3298, allocations: 152.9 kB / 380.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.3309, allocations: 0.9566 MB / 381.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008709/0.3318, allocations: 0.5571 MB / 381.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.3325, allocations: 414.8 kB / 382.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007817/0.3333, allocations: 488.2 kB / 382.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.3334, allocations: 99.69 kB / 382.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.3336, allocations: 98.88 kB / 382.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.334, allocations: 281.8 kB / 383.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.3344, allocations: 473.2 kB / 383.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.3357, allocations: 1.271 MB / 384.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3357, allocations: 0 / 384.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3357, allocations: 1.75 kB / 384.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.3357, allocations: 4 kB / 384.9 MB, free: 8.773 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001965/0.3377, allocations: 1.15 MB / 386.1 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.3377, allocations: 9.562 kB / 386.1 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.3379, allocations: 94.02 kB / 386.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/0.3388, allocations: 0.6037 MB / 386.8 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.3388, allocations: 52.03 kB / 386.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.339, allocations: 63.67 kB / 386.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3405, allocations: 0.9116 MB / 387.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3405, allocations: 1.766 kB / 387.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.3406, allocations: 28.03 kB / 387.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.3407, allocations: 30.67 kB / 387.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.342, allocations: 0.7909 MB / 388.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/0.3461, allocations: 2.759 MB / 391.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.347, allocations: 0.739 MB / 392.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.3476, allocations: 339 kB / 392.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.3476, allocations: 8.734 kB / 392.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006345/0.3482, allocations: 377.1 kB / 392.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/0.3483, allocations: 4 kB / 392.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002953/0.3512, allocations: 1.183 MB / 394 MB, free: 3.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.3513, allocations: 114.6 kB / 394.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/0.3522, allocations: 0.57 MB / 394.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.3522, allocations: 33.91 kB / 394.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.3525, allocations: 356.6 kB / 395.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3526, allocations: 132.6 kB / 395.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.3528, allocations: 99.5 kB / 395.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3529, allocations: 362.9 kB / 395.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.3533, allocations: 220.5 kB / 395.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.3538, allocations: 362.6 kB / 396.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.3546, allocations: 0.5645 MB / 396.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3546, allocations: 1.875 kB / 396.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001156/0.3557, allocations: 0.7556 MB / 397.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3558, allocations: 6.875 kB / 397.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.3558, allocations: 4.125 kB / 397.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.3563, allocations: 205.2 kB / 397.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.3566, allocations: 83.34 kB / 397.9 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.3595, allocations: 2.928 MB / 400.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.36, allocations: 58.84 kB / 400.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.36, allocations: 14.97 kB / 400.9 MB, free: 15.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005415/0.3606, allocations: 336.2 kB / 401.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.3607, allocations: 54.12 kB / 401.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.3608, allocations: 67.67 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3608, allocations: 4.375 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3608, allocations: 5.125 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3609, allocations: 1.125 kB / 401.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.3633, allocations: 1.618 MB / 402.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3633, allocations: 1.562 kB / 402.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.3635, allocations: 50.28 kB / 403 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.364, allocations: 196.7 kB / 403.2 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3641, allocations: 10.61 kB / 403.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.3674, allocations: 2.921 MB / 406.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3674, allocations: 4 kB / 406.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.3693, allocations: 1.101 MB / 407.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.3697, allocations: 191.6 kB / 407.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.3697, allocations: 12 kB / 407.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.37, allocations: 23.53 kB / 407.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.3702, allocations: 48.44 kB / 407.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3702, allocations: 16.95 kB / 407.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006025/0.3708, allocations: 412.9 kB / 407.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3708, allocations: 0 / 407.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008712/0.3717, allocations: 204.6 kB / 408.1 MB, free: 10.39 MB / 334.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.3719, allocations: 120.2 kB / 408.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.3733, allocations: 0.7338 MB / 409 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3733, allocations: 1.312 kB / 409 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000714/0.3741, allocations: 477 kB / 409.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.3748, allocations: 159.5 kB / 409.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.3777, allocations: 1.485 MB / 411.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.3785, allocations: 1.073 MB / 412.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.3788, allocations: 99.25 kB / 412.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3789, allocations: 40.31 kB / 412.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.379, allocations: 0 / 412.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of Templates: time 0.01777/0.3967, allocations: 10.14 MB / 422.4 MB, free: 14.43 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches