Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001474/0.001474, allocations: 109.7 kB / 17.06 MB, free: 5.996 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.001608/0.001608, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.398/1.398, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000925/0.000925, allocations: 43.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3161, allocations: 49.44 MB / 400.8 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004413/0.3205, allocations: 3.661 MB / 404.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3221, allocations: 1.009 MB / 405.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.3223, allocations: 19.88 kB / 405.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.3225, allocations: 95.14 kB / 405.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.3231, allocations: 230.7 kB / 405.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.3234, allocations: 147.7 kB / 405.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008315/0.3242, allocations: 0.9495 MB / 406.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/0.3248, allocations: 0.5887 MB / 407.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.3252, allocations: 410.6 kB / 407.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.3258, allocations: 0.4903 MB / 408.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.3259, allocations: 100 kB / 408.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3261, allocations: 100 kB / 408.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.3263, allocations: 279.2 kB / 408.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.3267, allocations: 481.8 kB / 409.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3278, allocations: 1.288 MB / 410.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3278, allocations: 7.938 kB / 410.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3278, allocations: 0 / 410.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.3278, allocations: 0 / 410.6 MB, free: 15.14 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001889/0.3297, allocations: 1.184 MB / 411.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3297, allocations: 12.03 kB / 411.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.3299, allocations: 96.36 kB / 411.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.3307, allocations: 0.6396 MB / 412.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.3308, allocations: 53.25 kB / 412.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.3309, allocations: 60 kB / 412.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.3322, allocations: 0.9267 MB / 413.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3323, allocations: 0 / 413.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.3323, allocations: 31.98 kB / 413.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.3324, allocations: 29.3 kB / 413.6 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.3336, allocations: 0.7936 MB / 414.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.3372, allocations: 2.777 MB / 417.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.3381, allocations: 0.7466 MB / 417.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/0.3387, allocations: 341.2 kB / 418.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.3387, allocations: 8.328 kB / 418.3 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/0.3393, allocations: 389.8 kB / 418.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.178e-05/0.3394, allocations: 3.984 kB / 418.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002662/0.342, allocations: 1.232 MB / 419.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.3421, allocations: 106.8 kB / 420 MB, free: 5.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.3427, allocations: 0.5721 MB / 420.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3428, allocations: 33.7 kB / 420.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.343, allocations: 364.6 kB / 420.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.3431, allocations: 138.9 kB / 421.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3433, allocations: 94.25 kB / 421.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3434, allocations: 362.8 kB / 421.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.3438, allocations: 221 kB / 421.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.3442, allocations: 365.7 kB / 422.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.3449, allocations: 0.5613 MB / 422.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.345, allocations: 0 / 422.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001183/0.3462, allocations: 0.7632 MB / 423.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3462, allocations: 8 kB / 423.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3462, allocations: 4 kB / 423.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.3467, allocations: 204.7 kB / 423.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.347, allocations: 71.83 kB / 423.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.3501, allocations: 3.033 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.3505, allocations: 59.75 kB / 426.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.3505, allocations: 16 kB / 426.8 MB, free: 14.23 MB / 350.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_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.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 (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004584/0.351, allocations: 337.6 kB / 427.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.3511, allocations: 59.66 kB / 427.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.3512, allocations: 65.27 kB / 427.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3512, allocations: 4 kB / 427.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3512, allocations: 4 kB / 427.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3513, allocations: 3.984 kB / 427.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.3537, allocations: 1.733 MB / 429 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3538, allocations: 7.938 kB / 429 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.354, allocations: 43.97 kB / 429 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.3544, allocations: 196.7 kB / 429.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.3545, allocations: 15.98 kB / 429.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.3574, allocations: 2.918 MB / 432.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3574, allocations: 3.938 kB / 432.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3591, allocations: 1.14 MB / 433.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.3594, allocations: 196.6 kB / 433.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.3595, allocations: 15.98 kB / 433.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3598, allocations: 27.97 kB / 433.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3599, allocations: 39.94 kB / 433.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.3599, allocations: 16.19 kB / 433.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000468/0.3604, allocations: 414.8 kB / 434 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3604, allocations: 0 / 434 MB, free: 6.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006957/0.3611, allocations: 207.5 kB / 434.2 MB, free: 6.566 MB / 350.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_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 (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.0001442/0.3612, allocations: 127.2 kB / 434.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3625, allocations: 0.7331 MB / 435.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3625, allocations: 4 kB / 435.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006564/0.3632, allocations: 481.8 kB / 435.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.3638, allocations: 146 kB / 435.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.3664, allocations: 1.562 MB / 437.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/0.3671, allocations: 1.07 MB / 438.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.3674, allocations: 96.72 kB / 438.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.3675, allocations: 47.44 kB / 438.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3675, allocations: 0 / 438.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Templates: time 0.01553/0.383, allocations: 10.16 MB / 448.6 MB, free: 8.207 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches