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.001057/0.001057, allocations: 106.5 kB / 16.92 MB, free: 5.781 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.001114/0.001114, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.279/1.279, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009443/0.0009443, allocations: 47.17 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08177, allocations: 49.46 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005906/0.08771, allocations: 4.698 MB / 354.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.09034, allocations: 1.301 MB / 356.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006705/0.09103, allocations: 23.88 kB / 356.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008362/0.09188, allocations: 218.4 kB / 356.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009925/0.09291, allocations: 342 kB / 356.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.09338, allocations: 211.7 kB / 357 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.09493, allocations: 1.529 MB / 358.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.09612, allocations: 0.9614 MB / 359.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008147/0.09695, allocations: 0.6464 MB / 360.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.09804, allocations: 0.7627 MB / 360.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.09838, allocations: 164 kB / 361 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.09873, allocations: 164 kB / 361.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.09913, allocations: 438.8 kB / 361.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007984/0.09994, allocations: 0.7234 MB / 362.3 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.1016, allocations: 2.06 MB / 364.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1016, allocations: 0 / 364.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1016, allocations: 0 / 364.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.145e-05/0.1016, allocations: 3.938 kB / 364.4 MB, free: 6.008 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.002953/0.1046, allocations: 1.638 MB / 366 MB, free: 4.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1047, allocations: 15.89 kB / 366.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.1049, allocations: 152.4 kB / 366.2 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.1051, allocations: 139.3 kB / 366.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.1064, allocations: 0.915 MB / 367.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.1064, allocations: 74.38 kB / 367.3 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.1066, allocations: 103.8 kB / 367.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.1087, allocations: 1.443 MB / 368.9 MB, free: 1.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.1087, allocations: 4 kB / 368.9 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.1089, allocations: 44 kB / 368.9 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/0.1089, allocations: 41.98 kB / 369 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.111, allocations: 1.3 MB / 370.3 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/0.2478, allocations: 4.332 MB / 374.6 MB, free: 23.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.2494, allocations: 1.965 MB / 376.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008285/0.2502, allocations: 0.6145 MB / 377.2 MB, free: 21.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.2503, allocations: 8.703 kB / 377.2 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008386/0.2511, allocations: 0.5959 MB / 377.8 MB, free: 21.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.404e-06/0.2511, allocations: 0 / 377.8 MB, free: 21.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006734/0.2579, allocations: 2.741 MB / 380.5 MB, free: 20.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.2579, allocations: 116.9 kB / 380.6 MB, free: 20.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/0.2589, allocations: 0.83 MB / 381.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.259, allocations: 42.08 kB / 381.5 MB, free: 19.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.2592, allocations: 481.2 kB / 382 MB, free: 19.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.2594, allocations: 248 kB / 382.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.2596, allocations: 131.6 kB / 382.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2597, allocations: 399.6 kB / 382.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.2603, allocations: 392.4 kB / 383.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.2609, allocations: 0.5443 MB / 383.7 MB, free: 18.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.262, allocations: 0.9161 MB / 384.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.262, allocations: 1.062 kB / 384.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001764/0.2638, allocations: 1.314 MB / 385.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2638, allocations: 7.25 kB / 385.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2638, allocations: 7.094 kB / 385.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009407/0.2648, allocations: 464 kB / 386.4 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.2651, allocations: 104.8 kB / 386.5 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.2708, allocations: 5.594 MB / 392.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.2713, allocations: 83.02 kB / 392.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.2713, allocations: 23.72 kB / 392.2 MB, free: 12.79 MB / 302.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.0004968/0.2719, allocations: 460.2 kB / 392.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.272, allocations: 89.94 kB / 392.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.2722, allocations: 116.1 kB / 392.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2722, allocations: 10.38 kB / 392.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2722, allocations: 1.312 kB / 392.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.2722, allocations: 3.984 kB / 392.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.2755, allocations: 2.607 MB / 395.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2755, allocations: 0 / 395.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.2758, allocations: 63.28 kB / 395.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007997/0.2766, allocations: 466.6 kB / 396 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.2766, allocations: 19.61 kB / 396 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005105/0.2817, allocations: 5.529 MB / 401.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2818, allocations: 0 / 401.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.2838, allocations: 1.904 MB / 403.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.2841, allocations: 275.8 kB / 403.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.2843, allocations: 12 kB / 403.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.2847, allocations: 39.95 kB / 403.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.2848, allocations: 72.55 kB / 403.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.2849, allocations: 27.98 kB / 403.8 MB, free: 2.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005748/0.2855, allocations: 0.5887 MB / 404.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2855, allocations: 4 kB / 404.4 MB, free: 2.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008529/0.2863, allocations: 347 kB / 404.8 MB, free: 2.016 MB / 302.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.002398/0.2887, allocations: 2.498 MB / 407.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.2911, allocations: 1.436 MB / 408.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2911, allocations: 0 / 408.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.2922, allocations: 0.8225 MB / 409.5 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2933, allocations: 279.6 kB / 409.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.306, allocations: 10.2 MB / 420 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/0.3069, allocations: 1.329 MB / 421.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.3073, allocations: 139.3 kB / 421.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/0.3077, allocations: 379.3 kB / 421.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3078, allocations: 0 / 421.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08897/0.3967, allocations: 28.64 MB / 450.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.22, allocations: 8.484 kB / 450.5 MB, free: 4.441 MB / 350.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