Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001085/0.001085, allocations: 190 kB / 17.54 MB, free: 6.066 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.297/1.297, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009262/0.0009263, allocations: 47.64 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08538, allocations: 49.44 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005597/0.09101, allocations: 4.557 MB / 354.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.09297, allocations: 1.207 MB / 355.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.09323, allocations: 23.94 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.09362, allocations: 135.1 kB / 355.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007578/0.09438, allocations: 318.4 kB / 355.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.09471, allocations: 175.8 kB / 356 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.09608, allocations: 1.596 MB / 357.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.0972, allocations: 1.106 MB / 358.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/0.0979, allocations: 0.6852 MB / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009084/0.09882, allocations: 0.8679 MB / 360.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.09903, allocations: 180 kB / 360.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.09926, allocations: 176 kB / 360.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.09963, allocations: 482.7 kB / 361.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006666/0.1003, allocations: 0.7972 MB / 361.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.1019, allocations: 2.216 MB / 364.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1019, allocations: 0 / 364.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1019, allocations: 0 / 364.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.1019, allocations: 0 / 364.1 MB, free: 6.172 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.002749/0.1047, allocations: 1.767 MB / 365.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1047, allocations: 16.02 kB / 365.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.105, allocations: 151.1 kB / 366 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1062, allocations: 0.9578 MB / 367 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.1062, allocations: 82.44 kB / 367 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.1064, allocations: 112.1 kB / 367.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.1088, allocations: 1.557 MB / 368.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.1088, allocations: 8 kB / 368.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1089, allocations: 40 kB / 368.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.109, allocations: 46.03 kB / 368.8 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1528/0.2618, allocations: 1.426 MB / 370.2 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006781/0.2686, allocations: 4.929 MB / 375.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2702, allocations: 1.457 MB / 376.6 MB, free: 21.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.2714, allocations: 0.7308 MB / 377.3 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.2715, allocations: 7.438 kB / 377.4 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.2725, allocations: 0.6069 MB / 378 MB, free: 21.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/0.2725, allocations: 2.344 kB / 378 MB, free: 21.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005783/0.2783, allocations: 2.433 MB / 380.4 MB, free: 20.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.2784, allocations: 90.88 kB / 380.5 MB, free: 20.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.2796, allocations: 0.9379 MB / 381.4 MB, free: 20.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.2796, allocations: 38.91 kB / 381.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.2799, allocations: 0.5288 MB / 382 MB, free: 19.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.28, allocations: 230.3 kB / 382.2 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.2803, allocations: 133.5 kB / 382.3 MB, free: 19.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.2803, allocations: 333.5 kB / 382.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.2809, allocations: 420 kB / 383.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/0.2816, allocations: 0.5488 MB / 383.6 MB, free: 18.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.2828, allocations: 0.9493 MB / 384.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2829, allocations: 0 / 384.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001812/0.2847, allocations: 1.287 MB / 385.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2847, allocations: 6.312 kB / 385.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2847, allocations: 4.969 kB / 385.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.2855, allocations: 402.4 kB / 386.3 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.286, allocations: 110.7 kB / 386.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.2903, allocations: 4.52 MB / 390.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.2908, allocations: 86.92 kB / 391 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.2908, allocations: 23.72 kB / 391 MB, free: 13.77 MB / 302.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.0004788/0.2913, allocations: 496.9 kB / 391.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.2914, allocations: 95.59 kB / 391.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.2916, allocations: 120.2 kB / 391.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2916, allocations: 10.69 kB / 391.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2916, allocations: 1.219 kB / 391.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2917, allocations: 3.984 kB / 391.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.295, allocations: 2.586 MB / 394.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.295, allocations: 6.828 kB / 394.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.2954, allocations: 90.28 kB / 394.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007157/0.2961, allocations: 393.3 kB / 394.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.2962, allocations: 15.73 kB / 394.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.3001, allocations: 4.483 MB / 399.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3001, allocations: 0 / 399.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.3023, allocations: 1.954 MB / 401.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3027, allocations: 283.8 kB / 401.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.3028, allocations: 16 kB / 401.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.3032, allocations: 39.95 kB / 401.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.3034, allocations: 76.53 kB / 401.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.3035, allocations: 27.98 kB / 401.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006462/0.3041, allocations: 0.6669 MB / 402.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3041, allocations: 0 / 402.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000807/0.3049, allocations: 354.8 kB / 402.7 MB, free: 4.238 MB / 302.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.0001478/0.3051, allocations: 131.1 kB / 402.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.3071, allocations: 1.432 MB / 404.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3071, allocations: 4.062 kB / 404.2 MB, free: 2.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009693/0.3081, allocations: 0.8101 MB / 405.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.3091, allocations: 258.4 kB / 405.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.3135, allocations: 3.128 MB / 408.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.3145, allocations: 1.384 MB / 409.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004547/0.315, allocations: 175.2 kB / 410 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.3151, allocations: 51.44 kB / 410 MB, free: 12.8 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3151, allocations: 0 / 410 MB, free: 12.8 MB / 318.1 MB Notification: Performance of Templates: time 0.02932/0.3445, allocations: 17.9 MB / 427.9 MB, free: 11.16 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches