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.001668/0.001668, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 54.94 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09071, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005798/0.09653, allocations: 4.605 MB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.09886, allocations: 1.309 MB / 364.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.09915, allocations: 23.88 kB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.09951, allocations: 166.6 kB / 365 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007931/0.1003, allocations: 350 kB / 365.4 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1007, allocations: 219.6 kB / 365.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1022, allocations: 1.627 MB / 367.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1033, allocations: 1.098 MB / 368.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006728/0.104, allocations: 0.6969 MB / 369 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009056/0.1049, allocations: 0.8523 MB / 369.8 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.1051, allocations: 176 kB / 370 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.1054, allocations: 180 kB / 370.2 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.1058, allocations: 490.5 kB / 370.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.1065, allocations: 0.805 MB / 371.5 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1668/0.2733, allocations: 2.258 MB / 373.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2733, allocations: 1.062 kB / 373.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2733, allocations: 0 / 373.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.377e-05/0.2734, allocations: 0 / 373.7 MB, free: 13.65 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.004237/0.2776, allocations: 1.79 MB / 375.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2777, allocations: 9.312 kB / 375.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.2785, allocations: 210.4 kB / 375.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.2803, allocations: 1.033 MB / 376.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.2804, allocations: 81.5 kB / 376.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.2806, allocations: 100.7 kB / 376.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.2832, allocations: 1.561 MB / 378.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.2832, allocations: 0 / 378.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.2833, allocations: 45.34 kB / 378.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.2834, allocations: 43.88 kB / 378.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.2858, allocations: 1.435 MB / 380 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006691/0.2925, allocations: 4.891 MB / 384.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.294, allocations: 1.464 MB / 386.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.295, allocations: 0.7312 MB / 387.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.2951, allocations: 7.5 kB / 387.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/0.296, allocations: 0.6096 MB / 387.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/0.2961, allocations: 0 / 387.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005414/0.3015, allocations: 2.442 MB / 390.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3015, allocations: 89.81 kB / 390.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3027, allocations: 0.9649 MB / 391.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.3028, allocations: 41.02 kB / 391.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.3032, allocations: 0.5279 MB / 391.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.3034, allocations: 234.9 kB / 392 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.3036, allocations: 131.5 kB / 392.2 MB, free: 5.094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.3036, allocations: 335.1 kB / 392.5 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.3042, allocations: 421.5 kB / 392.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.305, allocations: 0.5573 MB / 393.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.3062, allocations: 0.9375 MB / 394.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3062, allocations: 1.312 kB / 394.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002117/0.3084, allocations: 1.301 MB / 395.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3084, allocations: 6.938 kB / 395.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3084, allocations: 7.844 kB / 395.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/0.3094, allocations: 401.4 kB / 396.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.3099, allocations: 112.8 kB / 396.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/0.3144, allocations: 4.509 MB / 400.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.3152, allocations: 80.02 kB / 400.8 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.3152, allocations: 30.83 kB / 400.8 MB, free: 15.28 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.0007716/0.316, allocations: 0.4892 MB / 401.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.3162, allocations: 98.38 kB / 401.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.3164, allocations: 123.7 kB / 401.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.3165, allocations: 5.875 kB / 401.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3165, allocations: 0 / 401.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3165, allocations: 3.984 kB / 401.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004162/0.3207, allocations: 2.596 MB / 404.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.3207, allocations: 4 kB / 404.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.3211, allocations: 85.56 kB / 404.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/0.3219, allocations: 389.8 kB / 404.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.322, allocations: 15.98 kB / 404.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.327, allocations: 4.47 MB / 409.1 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3271, allocations: 4 kB / 409.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/0.33, allocations: 1.955 MB / 411 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/0.3306, allocations: 291.7 kB / 411.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.3308, allocations: 16.88 kB / 411.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.3312, allocations: 43.95 kB / 411.4 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.3314, allocations: 75.27 kB / 411.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.3315, allocations: 19.98 kB / 411.5 MB, free: 5.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009081/0.3324, allocations: 0.6981 MB / 412.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3324, allocations: 0 / 412.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00106/0.3335, allocations: 339 kB / 412.5 MB, free: 4.23 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.000188/0.3337, allocations: 145.1 kB / 412.7 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.3357, allocations: 1.283 MB / 413.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3357, allocations: 0 / 413.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.3369, allocations: 0.8035 MB / 414.7 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.338, allocations: 256 kB / 415 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.3428, allocations: 2.625 MB / 417.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009935/0.3438, allocations: 1.399 MB / 419 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004832/0.3443, allocations: 178.2 kB / 419.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.3444, allocations: 59.44 kB / 419.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of SimCode: time 9.298e-06/0.3445, allocations: 0 / 419.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of Templates: time 0.02763/0.3721, allocations: 18.34 MB / 437.6 MB, free: 11.37 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 -s cvode -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/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches