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.001433/0.001434, allocations: 117 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.28 kB / 306.5 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.0925, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006117/0.09865, allocations: 4.601 MB / 361.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.1014, allocations: 1.289 MB / 362.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.1019, allocations: 23.88 kB / 362.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.1024, allocations: 135.1 kB / 363 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009252/0.1033, allocations: 318.4 kB / 363.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.1037, allocations: 187.8 kB / 363.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1051, allocations: 1.634 MB / 365.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.1063, allocations: 1.11 MB / 366.3 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00085/0.1072, allocations: 0.6969 MB / 367 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.1082, allocations: 0.8717 MB / 367.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.1084, allocations: 183.9 kB / 368 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.1087, allocations: 184 kB / 368.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.1092, allocations: 482.7 kB / 368.7 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007895/0.11, allocations: 0.8049 MB / 369.5 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1645/0.2744, allocations: 2.238 MB / 371.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2745, allocations: 0.6562 kB / 371.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2745, allocations: 0 / 371.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.043e-05/0.2746, allocations: 0.5312 kB / 371.7 MB, free: 12.96 MB / 302.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.003266/0.2778, allocations: 1.795 MB / 373.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2779, allocations: 9.438 kB / 373.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.2787, allocations: 209.8 kB / 373.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.2802, allocations: 1 MB / 374.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.2803, allocations: 81.44 kB / 374.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.2805, allocations: 101.6 kB / 374.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.2831, allocations: 1.556 MB / 376.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.2831, allocations: 1.594 kB / 376.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2833, allocations: 45.84 kB / 376.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.2833, allocations: 45.98 kB / 376.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.2856, allocations: 1.435 MB / 378 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007912/0.2935, allocations: 4.928 MB / 382.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.2953, allocations: 1.465 MB / 384.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.2966, allocations: 0.7327 MB / 385.1 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.2966, allocations: 11.22 kB / 385.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009702/0.2976, allocations: 0.6077 MB / 385.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/0.2976, allocations: 4.703 kB / 385.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005713/0.3033, allocations: 2.433 MB / 388.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3034, allocations: 89.73 kB / 388.3 MB, free: 6.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.3047, allocations: 0.9676 MB / 389.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.3048, allocations: 41.27 kB / 389.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.3051, allocations: 0.5288 MB / 389.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3052, allocations: 233.7 kB / 390 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3054, allocations: 135.3 kB / 390.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.3055, allocations: 333.7 kB / 390.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.3061, allocations: 413.5 kB / 390.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.3068, allocations: 0.5505 MB / 391.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.308, allocations: 0.9537 MB / 392.4 MB, free: 3.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.308, allocations: 2 kB / 392.4 MB, free: 3.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001828/0.3098, allocations: 1.298 MB / 393.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3099, allocations: 6 kB / 393.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3099, allocations: 6.875 kB / 393.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/0.3107, allocations: 398.1 kB / 394.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.3112, allocations: 118.4 kB / 394.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.3156, allocations: 4.508 MB / 398.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.3161, allocations: 78.86 kB / 398.8 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.3162, allocations: 28.59 kB / 398.8 MB, free: 15.23 MB / 318.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.0006367/0.3168, allocations: 0.4966 MB / 399.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.317, allocations: 104.9 kB / 399.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.3172, allocations: 119.7 kB / 399.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3172, allocations: 3.969 kB / 399.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3172, allocations: 3.984 kB / 399.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3172, allocations: 3.875 kB / 399.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.3208, allocations: 2.592 MB / 402.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3208, allocations: 0 / 402.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.3212, allocations: 83.69 kB / 402.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000788/0.322, allocations: 397.7 kB / 402.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.3221, allocations: 19.98 kB / 402.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/0.3271, allocations: 4.479 MB / 407.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3271, allocations: 0 / 407.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.3299, allocations: 1.964 MB / 409.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.3304, allocations: 287.8 kB / 409.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.3305, allocations: 15.98 kB / 409.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.331, allocations: 47.02 kB / 409.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.3311, allocations: 76.55 kB / 409.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.3312, allocations: 19.98 kB / 409.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008477/0.3321, allocations: 0.6903 MB / 410.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3321, allocations: 0 / 410.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009883/0.3331, allocations: 347 kB / 410.5 MB, free: 4.438 MB / 318.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.0001728/0.3332, allocations: 126.9 kB / 410.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.3357, allocations: 1.443 MB / 412.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3357, allocations: 0 / 412.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3368, allocations: 0.8091 MB / 412.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3379, allocations: 254.1 kB / 413.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.3426, allocations: 3.151 MB / 416.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.3437, allocations: 1.392 MB / 417.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000489/0.3442, allocations: 175.4 kB / 417.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.3443, allocations: 63.42 kB / 417.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3443, allocations: 0 / 417.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Templates: time 0.02713/0.3715, allocations: 18.02 MB / 436 MB, free: 11.23 MB / 350.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