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.001599/0.001599, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002826/0.002826, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3261, allocations: 50.54 MB / 408.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005973/0.3322, allocations: 4.77 MB / 413.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.335, allocations: 1.359 MB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.3355, allocations: 31.81 kB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.3362, allocations: 226.4 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.337, allocations: 362 kB / 415.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.3375, allocations: 219.6 kB / 415.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.339, allocations: 1.545 MB / 417.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.3401, allocations: 0.9651 MB / 418.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008562/0.341, allocations: 0.658 MB / 418.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009134/0.3419, allocations: 0.7666 MB / 419.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.3421, allocations: 168 kB / 419.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.3424, allocations: 172 kB / 420 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.3428, allocations: 434.8 kB / 420.4 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007523/0.3435, allocations: 0.7389 MB / 421.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.3455, allocations: 2.105 MB / 423.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3456, allocations: 0 / 423.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3456, allocations: 0 / 423.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.3456, allocations: 0 / 423.3 MB, free: 2.996 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.003012/0.3486, allocations: 1.69 MB / 424.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3487, allocations: 12.03 kB / 425 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.3489, allocations: 160.4 kB / 425.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005074/0.3494, allocations: 176 kB / 425.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.351, allocations: 0.9704 MB / 426.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.351, allocations: 78.28 kB / 426.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.3512, allocations: 99.94 kB / 426.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.3534, allocations: 1.443 MB / 427.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.3535, allocations: 4 kB / 427.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3536, allocations: 43.98 kB / 427.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/0.3537, allocations: 38 kB / 428 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.3557, allocations: 1.304 MB / 429.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.3618, allocations: 4.305 MB / 433.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.3637, allocations: 1.962 MB / 435.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.3649, allocations: 0.7352 MB / 436.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.365, allocations: 8.656 kB / 436.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009181/0.3659, allocations: 0.6052 MB / 436.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 6.002e-06/0.3659, allocations: 3.984 kB / 436.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00712/0.3731, allocations: 2.824 MB / 439.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.3732, allocations: 115.5 kB / 439.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.3746, allocations: 0.8443 MB / 440.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.3747, allocations: 41.7 kB / 440.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.3752, allocations: 0.4891 MB / 441.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.3754, allocations: 257.8 kB / 441.4 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.3756, allocations: 134.6 kB / 441.6 MB, free: 128 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3758, allocations: 341.9 kB / 441.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.3764, allocations: 393.7 kB / 442.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007577/0.3772, allocations: 0.5454 MB / 442.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.3786, allocations: 0.9153 MB / 443.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3786, allocations: 0 / 443.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002189/0.3808, allocations: 1.307 MB / 445.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3808, allocations: 11.98 kB / 445.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3809, allocations: 4.469 kB / 445.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.382, allocations: 465.2 kB / 445.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.3824, allocations: 95.83 kB / 445.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007356/0.3897, allocations: 5.587 MB / 451.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.3904, allocations: 91.52 kB / 451.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/0.3905, allocations: 24 kB / 451.3 MB, free: 6.098 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.0007527/0.3913, allocations: 466.5 kB / 451.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.3915, allocations: 95.44 kB / 451.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.3918, allocations: 108.8 kB / 452 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3918, allocations: 8 kB / 452 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3918, allocations: 4 kB / 452 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3918, allocations: 11.92 kB / 452 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.3962, allocations: 2.602 MB / 454.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3963, allocations: 4 kB / 454.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.3966, allocations: 59.91 kB / 454.7 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000987/0.3976, allocations: 460.5 kB / 455.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.3976, allocations: 12 kB / 455.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00689/0.4045, allocations: 5.509 MB / 460.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.4046, allocations: 0 / 460.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.4073, allocations: 1.917 MB / 462.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.4079, allocations: 284.3 kB / 462.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.4081, allocations: 12.12 kB / 462.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.4085, allocations: 47.95 kB / 462.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4087, allocations: 72.53 kB / 463 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.4088, allocations: 24 kB / 463 MB, free: 10.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008053/0.4096, allocations: 0.6005 MB / 463.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4096, allocations: 0 / 463.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4106, allocations: 347.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.002979/0.4136, allocations: 2.496 MB / 466.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.4158, allocations: 1.286 MB / 467.7 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4158, allocations: 0 / 467.7 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4171, allocations: 0.8326 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.001177/0.4183, allocations: 278.8 kB / 468.8 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.4325, allocations: 9.861 MB / 478.7 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.4336, allocations: 1.329 MB / 480 MB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.434, 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.0004876/0.4345, allocations: 391.3 kB / 480.5 MB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 2.214e-06/0.4345, allocations: 0 / 480.5 MB, free: 8.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0651/0.4997, allocations: 29.39 MB / 0.498 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.1, allocations: 15.95 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