Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008179/0.0008181, allocations: 94.39 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008764/0.0008766, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001999/0.0001999, allocations: 4 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.0853, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003692/0.08903, allocations: 3.348 MB / 363.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.091, allocations: 1.052 MB / 364.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.09136, allocations: 15.94 kB / 364.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.09162, allocations: 83.39 kB / 364.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006936/0.09233, allocations: 214.9 kB / 364.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.09267, allocations: 139.8 kB / 364.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.09379, allocations: 1.063 MB / 365.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007005/0.0945, allocations: 0.5252 MB / 366.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.09499, allocations: 306.6 kB / 366.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000576/0.09557, allocations: 430 kB / 367.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.09568, allocations: 40 kB / 367.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.09583, allocations: 48 kB / 367.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.09602, allocations: 207.2 kB / 367.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.09647, allocations: 431.5 kB / 367.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008275/0.0973, allocations: 1.021 MB / 368.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.09732, allocations: 4 kB / 368.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09732, allocations: 0 / 368.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.09736, allocations: 0 / 368.8 MB, free: 4.32 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001873/0.09924, allocations: 1.037 MB / 369.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.09928, allocations: 8.031 kB / 369.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.09976, allocations: 127.8 kB / 370 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.1007, allocations: 0.6412 MB / 370.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.1007, allocations: 49.25 kB / 370.7 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.1008, allocations: 67.98 kB / 370.7 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.1024, allocations: 0.9267 MB / 371.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1024, allocations: 0 / 371.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/0.1025, allocations: 31.98 kB / 371.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.1025, allocations: 29.31 kB / 371.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.1039, allocations: 0.8053 MB / 372.5 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1603/0.2642, allocations: 2.836 MB / 375.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/0.2652, allocations: 0.7548 MB / 376.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.2658, allocations: 357.5 kB / 376.5 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.2659, allocations: 8.422 kB / 376.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/0.2666, allocations: 387.7 kB / 376.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.437e-06/0.2666, allocations: 0 / 376.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003022/0.2696, allocations: 1.258 MB / 378.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2697, allocations: 113.9 kB / 378.2 MB, free: 17.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007499/0.2704, allocations: 0.5799 MB / 378.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.2705, allocations: 37.81 kB / 378.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.2707, allocations: 374.3 kB / 379.2 MB, free: 16.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.619e-05/0.2709, allocations: 133.9 kB / 379.3 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.2709, allocations: 47.31 kB / 379.4 MB, free: 16.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.271, allocations: 368.1 kB / 379.8 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.2714, allocations: 223.8 kB / 380 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.2719, allocations: 368.2 kB / 380.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.2727, allocations: 0.5811 MB / 380.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2727, allocations: 0 / 380.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001319/0.274, allocations: 0.7699 MB / 381.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2741, allocations: 7.062 kB / 381.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2741, allocations: 3.75 kB / 381.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.2746, allocations: 204.8 kB / 381.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.2749, allocations: 83.03 kB / 382 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.2778, allocations: 2.769 MB / 384.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.2782, allocations: 65.39 kB / 384.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.2782, allocations: 23.64 kB / 384.8 MB, free: 12.93 MB / 302.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.0004389/0.2787, allocations: 326.9 kB / 385.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.2788, allocations: 60.17 kB / 385.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.2789, allocations: 67.56 kB / 385.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.279, allocations: 5.172 kB / 385.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.279, allocations: 1.094 kB / 385.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.279, allocations: 6.109 kB / 385.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.2815, allocations: 1.762 MB / 387 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2816, allocations: 0.9375 kB / 387 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.2818, allocations: 52.77 kB / 387.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.2822, allocations: 202.2 kB / 387.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.2823, allocations: 8.375 kB / 387.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002462/0.2847, allocations: 2.649 MB / 390 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2848, allocations: 1.875 kB / 390 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.2865, allocations: 1.159 MB / 391.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.2867, allocations: 201.1 kB / 391.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/0.2868, allocations: 11.48 kB / 391.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.2871, allocations: 26.36 kB / 391.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2872, allocations: 47.89 kB / 391.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.2872, allocations: 16.91 kB / 391.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004712/0.2877, allocations: 427.2 kB / 391.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2877, allocations: 4.812 kB / 391.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007192/0.2884, allocations: 205.6 kB / 392 MB, free: 8.688 MB / 302.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.0001548/0.2886, allocations: 121.7 kB / 392.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.2898, allocations: 0.739 MB / 392.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2898, allocations: 1.125 kB / 392.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.2905, allocations: 479.5 kB / 393.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.2913, allocations: 145.6 kB / 393.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.2939, allocations: 1.924 MB / 395.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.2944, allocations: 1.066 MB / 396.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2946, allocations: 45.67 kB / 396.5 MB, free: 5.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2946, allocations: 0 / 396.5 MB, free: 5.605 MB / 302.1 MB Notification: Performance of Templates: time 0.01584/0.3104, allocations: 12.94 MB / 409.5 MB, free: 10.82 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches