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.001527/0.001527, allocations: 109 kB / 17.06 MB, free: 6.02 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.001757/0.001757, allocations: 191 kB / 18 MB, free: 5.109 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 47.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2486, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004974/0.2536, allocations: 3.658 MB / 404.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2553, allocations: 1.009 MB / 405.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.2555, allocations: 15.94 kB / 405.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.2558, allocations: 107.1 kB / 405.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006719/0.2565, allocations: 238.7 kB / 405.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.2568, allocations: 139.7 kB / 405.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000858/0.2577, allocations: 0.9534 MB / 406.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.2583, allocations: 0.5926 MB / 407.4 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.2587, allocations: 410.6 kB / 407.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005863/0.2593, allocations: 0.4942 MB / 408.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.2595, allocations: 103.9 kB / 408.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2596, allocations: 100 kB / 408.5 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.2598, allocations: 271.2 kB / 408.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.2603, allocations: 481.8 kB / 409.3 MB, free: 296 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2613, allocations: 1.282 MB / 410.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2613, allocations: 0 / 410.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2614, allocations: 3.938 kB / 410.6 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2614, allocations: 3.938 kB / 410.6 MB, free: 15 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.001893/0.2633, allocations: 1.169 MB / 411.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2633, allocations: 12.03 kB / 411.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.2635, allocations: 87.91 kB / 411.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.2643, allocations: 0.6313 MB / 412.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.2644, allocations: 57.25 kB / 412.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2645, allocations: 68 kB / 412.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.2659, allocations: 0.915 MB / 413.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2659, allocations: 3.938 kB / 413.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.266, allocations: 28 kB / 413.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.266, allocations: 33.3 kB / 413.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2673, allocations: 0.7897 MB / 414.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.271, allocations: 2.776 MB / 417.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.2719, allocations: 0.7463 MB / 417.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.2724, allocations: 348.8 kB / 418.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2724, allocations: 4.328 kB / 418.2 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005694/0.273, allocations: 381.9 kB / 418.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.273, allocations: 0 / 418.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.00271/0.2758, allocations: 1.232 MB / 419.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.2758, allocations: 114.8 kB / 419.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.2765, allocations: 0.5682 MB / 420.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.2765, allocations: 37.64 kB / 420.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.2768, allocations: 355.9 kB / 420.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.2769, allocations: 142 kB / 421 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.277, allocations: 90.25 kB / 421.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2772, allocations: 370.8 kB / 421.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.2775, allocations: 213 kB / 421.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/0.278, allocations: 361.7 kB / 422 MB, free: 3.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/0.2788, allocations: 0.5613 MB / 422.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2788, allocations: 0 / 422.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001212/0.2801, allocations: 0.759 MB / 423.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2801, allocations: 12.03 kB / 423.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2801, allocations: 4 kB / 423.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.2806, allocations: 204.6 kB / 423.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2809, allocations: 71.89 kB / 423.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.2842, allocations: 3.028 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.2845, allocations: 59.52 kB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.2845, allocations: 20 kB / 426.8 MB, free: 14.14 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.0004044/0.2849, allocations: 333.6 kB / 427.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.285, allocations: 63.27 kB / 427.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.2852, allocations: 65.28 kB / 427.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.2852, allocations: 4 kB / 427.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2852, allocations: 4 kB / 427.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2852, allocations: 3.984 kB / 427.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.2877, allocations: 1.736 MB / 428.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2877, allocations: 3.984 kB / 429 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.288, allocations: 47.91 kB / 429 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.2884, allocations: 196.7 kB / 429.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.2884, allocations: 8 kB / 429.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.2914, allocations: 2.902 MB / 432.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2914, allocations: 3.938 kB / 432.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2931, allocations: 1.144 MB / 433.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.2934, allocations: 200.2 kB / 433.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.2935, allocations: 12 kB / 433.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.2938, allocations: 31.97 kB / 433.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2939, allocations: 44.12 kB / 433.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.2939, allocations: 11.98 kB / 433.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.2944, allocations: 414.8 kB / 433.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2944, allocations: 4 kB / 434 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006509/0.2951, allocations: 203.3 kB / 434.2 MB, free: 6.488 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.0001721/0.2953, allocations: 139.1 kB / 434.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.2965, allocations: 0.7291 MB / 435 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2965, allocations: 4 kB / 435 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.2972, allocations: 477.9 kB / 435.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.2978, allocations: 142.1 kB / 435.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.3005, allocations: 1.539 MB / 437.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.3011, allocations: 1.07 MB / 438.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.3014, allocations: 96.72 kB / 438.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.572e-05/0.3015, allocations: 39.44 kB / 438.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3015, allocations: 0 / 438.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Templates: time 0.01621/0.3177, allocations: 10.16 MB / 448.5 MB, free: 8.164 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