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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, 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.002006/0.002007, allocations: 193.4 kB / 18 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 51.91 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2763, allocations: 49.44 MB / 400.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006422/0.2827, allocations: 4.55 MB / 404.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.2856, allocations: 1.215 MB / 406 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.286, allocations: 23.94 kB / 406.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.2864, allocations: 162.6 kB / 406.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.2875, allocations: 350 kB / 406.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.288, allocations: 191.7 kB / 406.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.2898, allocations: 1.611 MB / 408.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.2912, allocations: 1.102 MB / 409.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009477/0.2921, allocations: 0.6814 MB / 410.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.2934, allocations: 0.8445 MB / 411 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.2936, allocations: 184 kB / 411.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.2939, allocations: 172 kB / 411.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.2944, allocations: 478.7 kB / 411.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009206/0.2953, allocations: 0.7932 MB / 412.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.2976, allocations: 2.253 MB / 414.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2977, allocations: 3.938 kB / 414.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2977, allocations: 0 / 414.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.409e-05/0.2977, allocations: 3.938 kB / 414.8 MB, free: 10.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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003454/0.3012, allocations: 1.813 MB / 416.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3012, allocations: 15.89 kB / 416.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.3015, allocations: 160.8 kB / 416.8 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.3017, allocations: 156 kB / 417 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.3032, allocations: 1.001 MB / 418 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.162e-05/0.3033, allocations: 74.44 kB / 418.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.3035, allocations: 107.9 kB / 418.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.3061, allocations: 1.557 MB / 419.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.3061, allocations: 0 / 419.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.3062, allocations: 40 kB / 419.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/0.3063, allocations: 50.03 kB / 419.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.3087, allocations: 1.429 MB / 421.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007283/0.316, allocations: 4.903 MB / 426.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3179, allocations: 1.446 MB / 427.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3192, allocations: 0.735 MB / 428.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.3193, allocations: 12.55 kB / 428.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.3203, allocations: 0.6161 MB / 429 MB, free: 11.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.575e-06/0.3203, allocations: 0 / 429 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006104/0.3264, allocations: 2.431 MB / 431.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.3265, allocations: 93.7 kB / 431.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3279, allocations: 0.9344 MB / 432.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.328, allocations: 41.69 kB / 432.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.3285, allocations: 0.5358 MB / 433 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.3288, allocations: 238 kB / 433.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.329, allocations: 134.6 kB / 433.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3292, allocations: 338 kB / 433.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.3299, allocations: 413.7 kB / 434.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008274/0.3307, allocations: 0.5485 MB / 434.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.3322, allocations: 0.9542 MB / 435.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3322, allocations: 8 kB / 435.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00224/0.3345, allocations: 1.285 MB / 436.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3345, allocations: 8 kB / 436.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3345, allocations: 4 kB / 436.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000983/0.3355, allocations: 407.8 kB / 437.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.336, allocations: 107.8 kB / 437.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.3419, allocations: 4.509 MB / 441.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.3425, allocations: 91.58 kB / 442 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.3426, allocations: 24 kB / 442 MB, free: 14.14 MB / 366.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.0008341/0.3434, allocations: 499.1 kB / 442.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.3436, allocations: 95.39 kB / 442.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.3438, allocations: 120.5 kB / 442.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3439, allocations: 8 kB / 442.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3439, allocations: 3.938 kB / 442.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3439, allocations: 7.984 kB / 442.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.348, allocations: 2.591 MB / 445.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.348, allocations: 0 / 445.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.3485, allocations: 83.88 kB / 445.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008635/0.3493, allocations: 396.9 kB / 445.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.3494, allocations: 15.98 kB / 445.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/0.3552, allocations: 4.474 MB / 450.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3552, allocations: 0 / 450.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.3584, allocations: 1.96 MB / 452.2 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.3589, allocations: 292.3 kB / 452.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.359, allocations: 12 kB / 452.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.3594, allocations: 47.94 kB / 452.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.3597, allocations: 72.55 kB / 452.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.3597, allocations: 27.92 kB / 452.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000945/0.3607, allocations: 0.6669 MB / 453.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3607, allocations: 0 / 453.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001001/0.3617, allocations: 355.2 kB / 453.7 MB, free: 2.199 MB / 366.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.003778/0.3655, allocations: 2.543 MB / 456.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.368, allocations: 1.283 MB / 457.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3681, allocations: 3.938 kB / 457.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.3694, allocations: 0.8071 MB / 458.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3705, allocations: 267.1 kB / 458.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.3883, allocations: 10.75 MB / 469.3 MB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.3895, allocations: 1.388 MB / 470.7 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000511/0.39, allocations: 163.3 kB / 470.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.3906, allocations: 411.3 kB / 471.3 MB, free: 284 kB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3906, allocations: 0 / 471.3 MB, free: 284 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06744/0.458, allocations: 28.56 MB / 499.9 MB, free: 4.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.46, allocations: 15.41 kB / 499.9 MB, free: 4.168 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > 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.csv","/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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches