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.001534/0.001534, allocations: 105.9 kB / 17.06 MB, free: 6.113 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.001695/0.001695, allocations: 196.1 kB / 18 MB, free: 5.191 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001165, allocations: 47.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3136, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006131/0.3198, allocations: 4.566 MB / 404.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.322, allocations: 1.211 MB / 406 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.3223, allocations: 19.94 kB / 406 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.3226, allocations: 174.6 kB / 406.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008545/0.3235, allocations: 354.1 kB / 406.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3239, allocations: 191.7 kB / 406.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.3254, allocations: 1.619 MB / 408.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.3266, allocations: 1.091 MB / 409.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008387/0.3274, allocations: 0.6891 MB / 410.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000995/0.3284, allocations: 0.8484 MB / 411 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.3287, allocations: 176 kB / 411.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.3289, allocations: 176 kB / 411.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.3293, allocations: 478.7 kB / 411.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007842/0.3301, allocations: 0.7894 MB / 412.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.332, allocations: 2.261 MB / 414.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.332, allocations: 0 / 414.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.332, allocations: 0 / 414.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.3321, allocations: 0 / 414.9 MB, free: 10.12 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.003175/0.3353, allocations: 1.812 MB / 416.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3353, allocations: 11.89 kB / 416.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/0.3355, allocations: 164.8 kB / 416.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.3357, allocations: 156 kB / 417 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.3373, allocations: 0.9975 MB / 418 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/0.3373, allocations: 78.44 kB / 418.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.3375, allocations: 107.9 kB / 418.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.3399, allocations: 1.549 MB / 419.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3399, allocations: 3.938 kB / 419.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.34, allocations: 51.98 kB / 419.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.3401, allocations: 46.05 kB / 419.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.3423, allocations: 1.429 MB / 421.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00661/0.349, allocations: 4.903 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.3506, allocations: 1.446 MB / 427.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.3518, allocations: 0.7351 MB / 428.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.3519, allocations: 4.562 kB / 428.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009733/0.3529, allocations: 0.6122 MB / 429 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.3529, allocations: 0 / 429 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005594/0.3585, allocations: 2.431 MB / 431.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.3586, allocations: 93.75 kB / 431.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.3598, allocations: 0.9422 MB / 432.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.3598, allocations: 37.7 kB / 432.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.3603, allocations: 0.5435 MB / 433 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.3605, allocations: 241.9 kB / 433.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3607, allocations: 138.6 kB / 433.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3608, allocations: 330 kB / 433.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.3615, allocations: 417.7 kB / 434.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/0.3623, allocations: 0.5485 MB / 434.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.3636, allocations: 0.9542 MB / 435.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3636, allocations: 0 / 435.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002031/0.3657, allocations: 1.289 MB / 436.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3657, allocations: 12.02 kB / 436.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3657, allocations: 4 kB / 436.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008711/0.3666, allocations: 399.8 kB / 437.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3671, allocations: 119.8 kB / 437.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.3727, allocations: 4.504 MB / 441.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.3733, allocations: 79.64 kB / 442 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.3734, allocations: 27.98 kB / 442 MB, free: 14.11 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.0007755/0.3741, allocations: 0.4913 MB / 442.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.3743, allocations: 99.39 kB / 442.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.3745, allocations: 116.5 kB / 442.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3745, allocations: 4 kB / 442.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3745, allocations: 3.984 kB / 442.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3745, allocations: 4 kB / 442.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.3785, allocations: 2.587 MB / 445.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3785, allocations: 0 / 445.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.3789, allocations: 91.88 kB / 445.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007914/0.3797, allocations: 396.9 kB / 445.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.3798, allocations: 12.12 kB / 445.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005179/0.385, allocations: 4.474 MB / 450.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.385, allocations: 3.984 kB / 450.3 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.3879, allocations: 1.964 MB / 452.3 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/0.3885, allocations: 288.3 kB / 452.5 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3886, allocations: 12 kB / 452.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.3891, allocations: 43.94 kB / 452.6 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.3892, allocations: 76.55 kB / 452.7 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.3893, allocations: 31.92 kB / 452.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009128/0.3902, allocations: 0.6746 MB / 453.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3902, allocations: 0 / 453.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001051/0.3913, allocations: 351.2 kB / 453.7 MB, free: 2.16 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.00339/0.3947, allocations: 2.543 MB / 456.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.397, allocations: 1.284 MB / 457.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.397, allocations: 4 kB / 457.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3982, allocations: 0.8108 MB / 458.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3994, allocations: 253.8 kB / 458.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.4185, allocations: 10.76 MB / 469.4 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.4198, allocations: 1.384 MB / 470.7 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004596/0.4202, allocations: 167.3 kB / 470.9 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.4208, allocations: 415.3 kB / 471.3 MB, free: 244 kB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4208, allocations: 0 / 471.3 MB, free: 244 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06273/0.4836, allocations: 28.55 MB / 499.9 MB, free: 4.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.03, allocations: 8.219 kB / 499.9 MB, free: 4.137 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