Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_3_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.001164/0.001164, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001146/0.001146, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08666, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006293/0.09304, allocations: 4.663 MB / 379.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1698/0.2629, allocations: 1.334 MB / 380.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.2634, allocations: 26.16 kB / 380.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.2641, allocations: 216.5 kB / 380.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007747/0.2649, allocations: 347.2 kB / 381.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.2653, allocations: 213.2 kB / 381.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.2669, allocations: 1.548 MB / 383 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.268, allocations: 0.9139 MB / 383.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008433/0.2689, allocations: 0.6351 MB / 384.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000938/0.2698, allocations: 0.7545 MB / 385.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.27, allocations: 163.6 kB / 385.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.2704, allocations: 161.6 kB / 385.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.2708, allocations: 446.5 kB / 386.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006702/0.2715, allocations: 0.721 MB / 386.8 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.2735, allocations: 2.07 MB / 388.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2736, allocations: 1.656 kB / 388.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2736, allocations: 0.6562 kB / 388.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.382e-05/0.2736, allocations: 0 / 388.8 MB, free: 6.414 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003236/0.2769, allocations: 1.63 MB / 390.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2769, allocations: 14.56 kB / 390.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.2771, allocations: 155 kB / 390.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.2775, allocations: 136.2 kB / 390.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.2788, allocations: 0.8771 MB / 391.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.2789, allocations: 81.97 kB / 391.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.279, allocations: 106 kB / 391.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.2814, allocations: 1.423 MB / 393.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.2814, allocations: 5.219 kB / 393.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.2815, allocations: 43.41 kB / 393.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.2816, allocations: 41.16 kB / 393.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.2836, allocations: 1.287 MB / 394.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00582/0.2895, allocations: 4.279 MB / 398.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2912, allocations: 1.968 MB / 400.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.2925, allocations: 0.7405 MB / 401.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.2925, allocations: 8.5 kB / 401.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009794/0.2935, allocations: 0.596 MB / 402.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.494e-06/0.2935, allocations: 0 / 402.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007346/0.3009, allocations: 2.825 MB / 405 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.301, allocations: 115.8 kB / 405.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3022, allocations: 0.8246 MB / 406 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.3023, allocations: 42.3 kB / 406 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.3027, allocations: 482.5 kB / 406.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.3029, allocations: 240.6 kB / 406.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3031, allocations: 141.4 kB / 406.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3034, allocations: 401.5 kB / 407.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.3041, allocations: 395.6 kB / 407.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/0.3048, allocations: 0.5478 MB / 408.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.3061, allocations: 0.9161 MB / 409.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3061, allocations: 2.781 kB / 409.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002121/0.3083, allocations: 1.302 MB / 410.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3083, allocations: 6.625 kB / 410.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3083, allocations: 4.219 kB / 410.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3094, allocations: 472.1 kB / 410.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.3098, allocations: 89.42 kB / 411 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/0.3173, allocations: 5.584 MB / 416.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.3181, allocations: 79.45 kB / 416.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.3182, allocations: 24 kB / 416.7 MB, free: 4.141 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0007217/0.3189, allocations: 467.2 kB / 417.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.3192, allocations: 86.97 kB / 417.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3195, allocations: 112.5 kB / 417.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.3195, allocations: 8 kB / 417.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3195, allocations: 0 / 417.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3195, allocations: 7.984 kB / 417.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.3237, allocations: 2.596 MB / 419.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3237, allocations: 0 / 419.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.324, allocations: 71.89 kB / 420 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009624/0.325, allocations: 456.6 kB / 420.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.3251, allocations: 16 kB / 420.5 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00708/0.3322, allocations: 5.497 MB / 426 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3322, allocations: 8 kB / 426 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.3352, allocations: 1.904 MB / 427.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/0.3358, allocations: 275.9 kB / 428.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.3359, allocations: 12 kB / 428.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.3363, allocations: 51.94 kB / 428.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3365, allocations: 76.48 kB / 428.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.3366, allocations: 16 kB / 428.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008597/0.3375, allocations: 0.5927 MB / 428.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3375, allocations: 0 / 428.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001114/0.3386, allocations: 339.1 kB / 429.2 MB, free: 7.363 MB / 350.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.003307/0.3419, allocations: 2.476 MB / 431.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.3442, allocations: 1.285 MB / 433 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3442, allocations: 0 / 433 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.3455, allocations: 0.8325 MB / 433.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3468, allocations: 283.6 kB / 434.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.361, allocations: 9.744 MB / 443.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.362, allocations: 1.322 MB / 445.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.3625, allocations: 151.2 kB / 445.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.3629, allocations: 371.3 kB / 445.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.363, allocations: 3.938 kB / 445.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.4251, allocations: 29.13 MB / 474.8 MB, free: 9.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.33, allocations: 20.06 kB / 474.8 MB, free: 9.355 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches