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.00107/0.00107, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 65.44 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08412, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005829/0.08998, allocations: 4.746 MB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.09276, allocations: 1.371 MB / 363.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/0.0934, allocations: 31.88 kB / 363.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.09416, allocations: 222.4 kB / 364 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.09522, allocations: 338 kB / 364.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.09578, allocations: 223.6 kB / 364.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.09767, allocations: 1.553 MB / 366.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.0989, allocations: 0.9692 MB / 367 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.09982, allocations: 0.6425 MB / 367.7 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.1009, allocations: 0.7666 MB / 368.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.1013, allocations: 164 kB / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.1017, allocations: 168 kB / 368.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.1021, allocations: 442.7 kB / 369.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009803/0.1031, allocations: 0.735 MB / 369.9 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1419/0.2451, allocations: 2.071 MB / 372 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2451, allocations: 0.5312 kB / 372 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2451, allocations: 5.234 kB / 372 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.957e-05/0.2452, allocations: 0 / 372 MB, free: 12.8 MB / 302.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.002799/0.248, allocations: 1.654 MB / 373.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.248, allocations: 11.55 kB / 373.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.2482, allocations: 156.3 kB / 373.8 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.2487, allocations: 165.3 kB / 374 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.2499, allocations: 0.9339 MB / 374.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.25, allocations: 74.56 kB / 375 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.2502, allocations: 99.19 kB / 375.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.2524, allocations: 1.444 MB / 376.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.2524, allocations: 7.844 kB / 376.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/0.2525, allocations: 38.53 kB / 376.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/0.2526, allocations: 48.55 kB / 376.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.2545, allocations: 1.292 MB / 377.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/0.2599, allocations: 4.353 MB / 382.3 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.2615, allocations: 1.972 MB / 384.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/0.2624, allocations: 0.61 MB / 384.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.2624, allocations: 11.41 kB / 384.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008353/0.2633, allocations: 0.5936 MB / 385.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.254e-06/0.2633, allocations: 0 / 385.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006633/0.2699, allocations: 2.739 MB / 388.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.27, allocations: 117.9 kB / 388.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.271, allocations: 0.8493 MB / 389.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.2711, allocations: 42.33 kB / 389.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.2714, allocations: 495.4 kB / 389.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.2715, allocations: 243.6 kB / 389.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.2717, allocations: 129.5 kB / 390.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.2718, allocations: 338.6 kB / 390.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.2723, allocations: 395.3 kB / 390.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.273, allocations: 0.5456 MB / 391.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.2741, allocations: 0.9135 MB / 392.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2741, allocations: 1.281 kB / 392.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001876/0.276, allocations: 1.324 MB / 393.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2761, allocations: 9.844 kB / 393.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2761, allocations: 4.125 kB / 393.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.2771, allocations: 480.5 kB / 394 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.2774, allocations: 89.05 kB / 394.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/0.2836, allocations: 5.601 MB / 399.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.2841, allocations: 86.89 kB / 399.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.2842, allocations: 23.28 kB / 399.8 MB, free: 14.51 MB / 318.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.0005958/0.2848, allocations: 476.6 kB / 400.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2849, allocations: 85.22 kB / 400.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.2851, allocations: 117.6 kB / 400.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2852, allocations: 7.594 kB / 400.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2852, allocations: 4 kB / 400.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2852, allocations: 3.984 kB / 400.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.2889, allocations: 2.606 MB / 403.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2889, allocations: 0 / 403.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.2892, allocations: 66.58 kB / 403.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009244/0.2901, allocations: 460.7 kB / 403.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.2902, allocations: 20.72 kB / 403.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00641/0.2966, allocations: 5.526 MB / 409.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2966, allocations: 0 / 409.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.2992, allocations: 1.911 MB / 411.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.2996, allocations: 271.8 kB / 411.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.2998, allocations: 23.92 kB / 411.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.3002, allocations: 43.95 kB / 411.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3004, allocations: 72.55 kB / 411.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.3004, allocations: 20 kB / 411.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007448/0.3012, allocations: 0.6038 MB / 412.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3012, allocations: 0 / 412.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009591/0.3022, allocations: 343.1 kB / 412.5 MB, free: 2.648 MB / 318.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.003044/0.3052, allocations: 2.49 MB / 414.9 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.3077, allocations: 1.432 MB / 416.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3077, allocations: 0 / 416.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.3089, allocations: 0.8238 MB / 417.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.3101, allocations: 284.4 kB / 417.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.3244, allocations: 10.33 MB / 427.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009829/0.3254, allocations: 1.333 MB / 429.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004208/0.3258, allocations: 143.4 kB / 429.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/0.3263, allocations: 391.3 kB / 429.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3263, allocations: 0 / 429.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/0.3822, allocations: 28.89 MB / 458.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 14.89 kB / 458.6 MB, free: 4.664 MB / 366.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