Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001168/0.001168, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 50.53 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006566/0.3255, allocations: 4.77 MB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.3288, allocations: 1.371 MB / 414.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.3295, allocations: 27.88 kB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009117/0.3304, allocations: 218.4 kB / 415.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.3317, allocations: 366 kB / 415.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.3324, allocations: 223.6 kB / 415.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.3344, allocations: 1.545 MB / 417.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.3357, allocations: 0.9651 MB / 418.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.3367, allocations: 0.6463 MB / 418.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.3381, allocations: 0.7705 MB / 419.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.3385, allocations: 164 kB / 419.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.339, allocations: 168 kB / 420 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000506/0.3395, allocations: 442.8 kB / 420.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.3407, allocations: 0.735 MB / 421.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.3432, allocations: 2.105 MB / 423.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3432, allocations: 0 / 423.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3433, allocations: 7.875 kB / 423.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.153e-05/0.3433, allocations: 0 / 423.3 MB, free: 2.988 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.004118/0.3475, allocations: 1.694 MB / 425 MB, free: 1.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3475, allocations: 8.031 kB / 425 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003251/0.3479, allocations: 164.4 kB / 425.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000637/0.3485, allocations: 172 kB / 425.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.3502, allocations: 0.9743 MB / 426.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.3503, allocations: 74.38 kB / 426.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.3505, allocations: 99.94 kB / 426.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.3531, allocations: 1.439 MB / 427.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.3532, allocations: 0 / 427.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.3533, allocations: 43.98 kB / 427.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-05/0.3534, allocations: 42 kB / 428 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.3557, allocations: 1.296 MB / 429.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007117/0.3628, allocations: 4.317 MB / 433.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.365, allocations: 1.959 MB / 435.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3662, allocations: 0.7313 MB / 436.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/0.3663, allocations: 12.64 kB / 436.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.3673, allocations: 0.6014 MB / 436.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.326e-06/0.3674, allocations: 3.938 kB / 436.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007165/0.3745, allocations: 2.824 MB / 439.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.3747, allocations: 111.5 kB / 439.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.3762, allocations: 0.8482 MB / 440.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.3764, allocations: 37.7 kB / 440.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.377, allocations: 0.4891 MB / 441.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.3774, allocations: 257.8 kB / 441.4 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.3777, allocations: 142.6 kB / 441.6 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3779, allocations: 341.9 kB / 441.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/0.3787, allocations: 389.7 kB / 442.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009766/0.3797, allocations: 0.5416 MB / 442.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.3812, allocations: 0.9153 MB / 443.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.3812, allocations: 4 kB / 443.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00232/0.3836, allocations: 1.304 MB / 445.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.3836, allocations: 15 kB / 445.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3836, allocations: 4 kB / 445.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3848, allocations: 469.2 kB / 445.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.3853, allocations: 91.83 kB / 445.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007595/0.3929, allocations: 5.595 MB / 451.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.3936, allocations: 91.45 kB / 451.3 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3938, allocations: 24 kB / 451.3 MB, free: 6.09 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.0007742/0.3945, allocations: 470.8 kB / 451.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.3948, allocations: 87.44 kB / 451.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3951, allocations: 116.7 kB / 452 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.3951, allocations: 8 kB / 452 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3951, allocations: 0 / 452 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.3951, allocations: 11.92 kB / 452 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.3993, allocations: 2.602 MB / 454.6 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3994, allocations: 0 / 454.6 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.3997, allocations: 63.91 kB / 454.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.4007, allocations: 456.5 kB / 455.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.4007, allocations: 20.11 kB / 455.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006934/0.4077, allocations: 5.501 MB / 460.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4077, allocations: 0 / 460.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.4106, allocations: 1.921 MB / 462.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.4111, allocations: 280.3 kB / 462.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.4113, allocations: 16 kB / 462.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.4117, allocations: 39.95 kB / 462.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.4119, allocations: 72.55 kB / 463 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.412, allocations: 19.98 kB / 463 MB, free: 10.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008723/0.4129, allocations: 0.6044 MB / 463.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4129, allocations: 4 kB / 463.6 MB, free: 9.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001047/0.4139, allocations: 343.3 kB / 463.9 MB, free: 9.238 MB / 382.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.003046/0.417, allocations: 2.488 MB / 466.4 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.4193, allocations: 1.29 MB / 467.7 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4193, allocations: 0 / 467.7 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4205, allocations: 0.8365 MB / 468.5 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.4218, allocations: 274.9 kB / 468.8 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.4375, allocations: 9.869 MB / 478.7 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.439, allocations: 1.326 MB / 480 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005937/0.4396, allocations: 143.4 kB / 480.1 MB, free: 8.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/0.4403, allocations: 395.3 kB / 480.5 MB, free: 8.309 MB / 398.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4403, allocations: 0 / 480.5 MB, free: 8.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09075/0.5311, allocations: 29.38 MB / 0.498 GB, free: 11.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.36, allocations: 11.8 kB / 0.498 GB, free: 11.29 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches