Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",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.001521/0.001521, allocations: 106.8 kB / 17.05 MB, free: 6.09 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.001688/0.001688, allocations: 192 kB / 18 MB, free: 5.184 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2994, allocations: 49.45 MB / 400.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.008143/0.3076, allocations: 4.716 MB / 405 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.3114, allocations: 1.289 MB / 406.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009805/0.3125, allocations: 31.88 kB / 406.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008417/0.3133, allocations: 218.4 kB / 406.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.3144, allocations: 358 kB / 406.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.3149, allocations: 219.6 kB / 407.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.3165, allocations: 1.533 MB / 408.6 MB, free: 452 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.3176, allocations: 0.9573 MB / 409.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008571/0.3184, allocations: 0.6463 MB / 410.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008803/0.3193, allocations: 0.7627 MB / 411 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.3195, allocations: 168 kB / 411.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.3197, allocations: 164 kB / 411.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.3201, allocations: 430.8 kB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.3209, allocations: 0.7272 MB / 412.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.3228, allocations: 2.097 MB / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3228, allocations: 0 / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3228, allocations: 0 / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.56e-05/0.3228, allocations: 0 / 414.5 MB, free: 10.46 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003148/0.326, allocations: 1.672 MB / 416.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.326, allocations: 8.031 kB / 416.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/0.3262, allocations: 156.4 kB / 416.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.3265, allocations: 148 kB / 416.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.3279, allocations: 0.9508 MB / 417.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.328, allocations: 74.38 kB / 417.5 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.3282, allocations: 99.94 kB / 417.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.3303, allocations: 1.447 MB / 419.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.3304, allocations: 0 / 419.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3305, allocations: 47.98 kB / 419.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.3305, allocations: 38 kB / 419.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.3325, allocations: 1.296 MB / 420.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.3384, allocations: 4.305 MB / 424.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.3403, allocations: 1.963 MB / 426.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.3415, allocations: 0.7352 MB / 427.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.3416, allocations: 12.56 kB / 427.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008806/0.3425, allocations: 0.5975 MB / 428.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.3425, allocations: 0 / 428.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006876/0.3494, allocations: 2.817 MB / 430.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.3495, allocations: 115.5 kB / 431 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3506, allocations: 0.8285 MB / 431.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.3506, allocations: 37.7 kB / 431.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.351, allocations: 492.8 kB / 432.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.3512, allocations: 257.8 kB / 432.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3515, allocations: 142.6 kB / 432.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3517, allocations: 398.7 kB / 433.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.3523, allocations: 389.7 kB / 433.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.3529, allocations: 0.5454 MB / 434.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.3542, allocations: 0.927 MB / 435 MB, free: 5.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3542, allocations: 0 / 435 MB, free: 5.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002025/0.3562, allocations: 1.303 MB / 436.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3562, allocations: 8 kB / 436.3 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3563, allocations: 4 kB / 436.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3573, allocations: 468.7 kB / 436.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.3577, allocations: 95.81 kB / 436.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/0.3645, allocations: 5.579 MB / 442.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.3652, allocations: 87.52 kB / 442.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.3653, allocations: 24 kB / 442.5 MB, free: 13.61 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0007165/0.366, allocations: 467.3 kB / 443 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3662, allocations: 91.44 kB / 443.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.3664, allocations: 112.6 kB / 443.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3664, allocations: 8 kB / 443.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3664, allocations: 3.984 kB / 443.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3664, allocations: 3.938 kB / 443.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.3703, allocations: 2.591 MB / 445.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3703, allocations: 8.125 kB / 445.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.3706, allocations: 55.91 kB / 445.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009291/0.3715, allocations: 464.6 kB / 446.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/0.3716, allocations: 16 kB / 446.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00648/0.3781, allocations: 5.51 MB / 451.8 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3781, allocations: 0 / 451.8 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.381, allocations: 1.909 MB / 453.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.3815, allocations: 288.2 kB / 454 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3817, allocations: 12 kB / 454 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.3821, allocations: 51.94 kB / 454.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.3823, allocations: 68.55 kB / 454.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.3823, allocations: 20 kB / 454.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007763/0.3831, allocations: 0.5927 MB / 454.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3831, allocations: 0 / 454.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00102/0.3841, allocations: 343.3 kB / 455.1 MB, free: 0.7695 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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00298/0.3871, allocations: 2.496 MB / 457.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.3893, allocations: 1.275 MB / 458.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.3893, allocations: 4.062 kB / 458.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.3906, allocations: 0.8355 MB / 459.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.3919, allocations: 286.8 kB / 460 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.4054, allocations: 9.778 MB / 469.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.4065, allocations: 1.321 MB / 471.1 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.407, allocations: 151.2 kB / 471.2 MB, free: 336 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.4074, allocations: 383.4 kB / 471.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4074, allocations: 0 / 471.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05481/0.4623, allocations: 29.12 MB / 0.489 GB, free: 3.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.95, allocations: 6.281 kB / 0.489 GB, free: 3.281 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_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_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches