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.001306/0.001306, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2832, allocations: 50.54 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007034/0.2903, allocations: 4.759 MB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.2934, allocations: 1.359 MB / 414.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004639/0.2939, allocations: 31.81 kB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.2946, allocations: 218.4 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008726/0.2956, allocations: 354 kB / 415.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.2961, allocations: 219.6 kB / 415.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.2979, allocations: 1.541 MB / 417.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.2993, allocations: 0.9729 MB / 418.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.3003, allocations: 0.6502 MB / 418.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.3016, allocations: 0.7627 MB / 419.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.3019, allocations: 168 kB / 419.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.3022, allocations: 164 kB / 420 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.3027, allocations: 446.8 kB / 420.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009549/0.3036, allocations: 0.7311 MB / 421.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.3062, allocations: 2.109 MB / 423.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3062, allocations: 0 / 423.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3062, allocations: 0 / 423.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.3063, allocations: 4 kB / 423.2 MB, free: 3.004 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.003303/0.3096, allocations: 1.686 MB / 424.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3096, allocations: 12.03 kB / 424.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002335/0.3099, allocations: 168.3 kB / 425.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.3104, allocations: 172 kB / 425.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.312, allocations: 0.9664 MB / 426.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.3121, allocations: 74.38 kB / 426.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.3123, allocations: 103.9 kB / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.3147, allocations: 1.443 MB / 427.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.3148, allocations: 0 / 427.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3149, allocations: 47.94 kB / 427.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/0.3149, allocations: 45.98 kB / 427.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.3172, allocations: 1.296 MB / 429.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007185/0.3244, allocations: 4.309 MB / 433.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.3267, allocations: 1.959 MB / 435.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.3282, allocations: 0.7274 MB / 436.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.3282, allocations: 12.64 kB / 436.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.3293, allocations: 0.6053 MB / 436.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 6.202e-06/0.3293, allocations: 0 / 436.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007437/0.3368, allocations: 2.832 MB / 439.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.3369, allocations: 111.5 kB / 439.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.3382, allocations: 0.8404 MB / 440.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.993e-05/0.3383, allocations: 37.7 kB / 440.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/0.3388, allocations: 0.4969 MB / 441.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.3391, allocations: 261.8 kB / 441.4 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.3394, allocations: 134.6 kB / 441.6 MB, free: 136 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.3396, allocations: 334 kB / 441.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006974/0.3403, allocations: 393.7 kB / 442.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008205/0.3411, allocations: 0.5493 MB / 442.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.3426, allocations: 0.9153 MB / 443.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3426, allocations: 0 / 443.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002445/0.3451, allocations: 1.311 MB / 445 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3451, allocations: 8 kB / 445 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3451, allocations: 4 kB / 445.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.3463, allocations: 465.3 kB / 445.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.3467, allocations: 95.83 kB / 445.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008065/0.3548, allocations: 5.587 MB / 451.2 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/0.3556, allocations: 91.52 kB / 451.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.3556, allocations: 27.98 kB / 451.3 MB, free: 6.105 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.0008628/0.3565, allocations: 462.8 kB / 451.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.3567, allocations: 91.44 kB / 451.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.357, allocations: 120.7 kB / 452 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.357, allocations: 8 kB / 452 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.357, allocations: 0 / 452 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.357, allocations: 7.922 kB / 452 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/0.3615, allocations: 2.599 MB / 454.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3615, allocations: 0 / 454.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.3618, allocations: 67.89 kB / 454.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.3629, allocations: 464.5 kB / 455.1 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.3629, allocations: 12 kB / 455.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007647/0.3706, allocations: 5.505 MB / 460.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3706, allocations: 0 / 460.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.3737, allocations: 1.917 MB / 462.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.3742, allocations: 280.3 kB / 462.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3743, allocations: 16 kB / 462.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.3747, allocations: 39.95 kB / 462.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.3749, allocations: 72.55 kB / 462.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.375, allocations: 23.98 kB / 463 MB, free: 10.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008541/0.3758, allocations: 0.6005 MB / 463.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3758, allocations: 0 / 463.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3769, allocations: 347.3 kB / 463.9 MB, free: 9.258 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.003547/0.3805, allocations: 2.496 MB / 466.4 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.383, allocations: 1.294 MB / 467.7 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.383, allocations: 0 / 467.7 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.3844, allocations: 0.8366 MB / 468.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.3858, allocations: 274.3 kB / 468.8 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.4035, allocations: 9.857 MB / 478.6 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.405, allocations: 1.329 MB / 480 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005094/0.4055, allocations: 147.4 kB / 480.1 MB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.4061, allocations: 391.3 kB / 480.5 MB, free: 8.328 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4062, allocations: 3.938 kB / 480.5 MB, free: 8.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07932/0.4855, allocations: 29.39 MB / 0.4979 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/13.97, allocations: 16.08 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.1.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