Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_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.001259/0.001259, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001189/0.001189, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 51.92 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 49.43 MB / 400.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006689/0.2968, allocations: 4.725 MB / 405 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.2996, allocations: 1.289 MB / 406.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.3, allocations: 27.88 kB / 406.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.3008, allocations: 214.5 kB / 406.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008216/0.3016, allocations: 350 kB / 406.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.3021, allocations: 207.7 kB / 407.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.3037, allocations: 1.537 MB / 408.6 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.3049, allocations: 0.9612 MB / 409.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.3056, allocations: 0.6385 MB / 410.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009692/0.3066, allocations: 0.7666 MB / 411 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.3069, allocations: 164 kB / 411.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.3071, allocations: 164 kB / 411.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.3076, allocations: 438.8 kB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.3083, allocations: 0.7272 MB / 412.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.3104, allocations: 2.09 MB / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.3105, allocations: 8 kB / 414.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3105, allocations: 3.938 kB / 414.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3105, allocations: 0 / 414.5 MB, free: 10.45 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.003028/0.3135, allocations: 1.668 MB / 416.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3136, allocations: 11.89 kB / 416.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.3138, allocations: 160.4 kB / 416.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.314, allocations: 148 kB / 416.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.3154, allocations: 0.9392 MB / 417.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-05/0.3155, allocations: 82.31 kB / 417.5 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.3156, allocations: 103.9 kB / 417.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.318, allocations: 1.439 MB / 419.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.318, allocations: 4 kB / 419.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.3181, allocations: 43.98 kB / 419.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.3182, allocations: 42 kB / 419.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.3203, allocations: 1.292 MB / 420.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0062/0.3265, allocations: 4.309 MB / 424.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.3288, allocations: 1.962 MB / 426.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.3301, allocations: 0.7391 MB / 427.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.3301, allocations: 8.656 kB / 427.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.3312, allocations: 0.6085 MB / 428.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.906e-06/0.3312, allocations: 0 / 428.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007432/0.3386, allocations: 2.809 MB / 430.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.3387, allocations: 119.5 kB / 431 MB, free: 9.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.34, allocations: 0.8207 MB / 431.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.34, allocations: 41.7 kB / 431.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.3405, allocations: 492.8 kB / 432.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.3408, allocations: 257.8 kB / 432.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.3411, allocations: 138.6 kB / 432.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.3413, allocations: 398.7 kB / 433.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.3419, allocations: 397.7 kB / 433.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/0.3428, allocations: 0.5455 MB / 434.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.3443, allocations: 0.9191 MB / 435 MB, free: 5.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3443, allocations: 4 kB / 435 MB, free: 5.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002266/0.3465, allocations: 1.307 MB / 436.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3466, allocations: 4 kB / 436.3 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3466, allocations: 4 kB / 436.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3477, allocations: 460.5 kB / 436.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.3481, allocations: 95.81 kB / 436.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00774/0.3558, allocations: 5.579 MB / 442.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.3565, allocations: 95.64 kB / 442.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.3566, allocations: 27.98 kB / 442.5 MB, free: 13.61 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.0008207/0.3575, allocations: 459.3 kB / 443 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.3576, allocations: 91.44 kB / 443.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.3579, allocations: 116.5 kB / 443.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3579, allocations: 11.94 kB / 443.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3579, allocations: 0 / 443.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.358, allocations: 7.922 kB / 443.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.3623, allocations: 2.591 MB / 445.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3623, allocations: 0 / 445.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3627, allocations: 67.89 kB / 445.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.3637, allocations: 456.3 kB / 446.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.3638, allocations: 16 kB / 446.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007554/0.3713, allocations: 5.507 MB / 451.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3714, allocations: 0 / 451.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.3746, allocations: 1.917 MB / 453.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/0.3752, allocations: 276.3 kB / 454 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3753, allocations: 19.98 kB / 454 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.3757, allocations: 43.89 kB / 454.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.376, allocations: 72.55 kB / 454.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.376, allocations: 20 kB / 454.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00092/0.3769, allocations: 0.5927 MB / 454.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.377, allocations: 0 / 454.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001056/0.378, allocations: 343.3 kB / 455.1 MB, free: 0.7734 MB / 366.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.003378/0.3814, allocations: 2.492 MB / 457.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.3837, allocations: 1.282 MB / 458.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3838, allocations: 4.875 kB / 458.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.3851, allocations: 0.8279 MB / 459.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.3864, allocations: 282.8 kB / 460 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.4015, allocations: 9.786 MB / 469.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.4025, allocations: 1.325 MB / 471.1 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004256/0.403, allocations: 151.3 kB / 471.2 MB, free: 332 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/0.4035, allocations: 375.4 kB / 471.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4035, allocations: 4 kB / 471.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06858/0.4721, allocations: 29.12 MB / 0.489 GB, free: 3.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.47, allocations: 3.703 kB / 0.489 GB, free: 3.27 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches