Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",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.001587/0.001587, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001729/0.001729, allocations: 193.4 kB / 18 MB, free: 5.074 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.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 51.92 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.281, allocations: 49.42 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005109/0.2861, allocations: 3.721 MB / 404 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2878, allocations: 0.9155 MB / 404.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.288, allocations: 8 kB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.2882, allocations: 79.16 kB / 405 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.2886, allocations: 138.8 kB / 405.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.2889, allocations: 163.8 kB / 405.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.2896, allocations: 0.6109 MB / 405.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.2899, allocations: 211 kB / 406.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.2902, allocations: 231.1 kB / 406.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.2906, allocations: 242.9 kB / 406.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.802e-05/0.2907, allocations: 59.98 kB / 406.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.2908, allocations: 56 kB / 406.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2909, allocations: 123.5 kB / 406.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.2911, allocations: 274.7 kB / 407 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.2918, allocations: 0.6303 MB / 407.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2918, allocations: 0 / 407.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2918, allocations: 0 / 407.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2919, allocations: 0 / 407.7 MB, free: 1.34 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001409/0.2933, allocations: 0.7919 MB / 408.5 MB, free: 0.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2933, allocations: 15.89 kB / 408.5 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.2934, allocations: 78.7 kB / 408.6 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.2935, allocations: 60.56 kB / 408.6 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.2941, allocations: 380.3 kB / 409 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.2941, allocations: 37.38 kB / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.2942, allocations: 44.12 kB / 409.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.2949, allocations: 457.5 kB / 409.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.295, allocations: 3.938 kB / 409.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.295, allocations: 23.98 kB / 409.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.295, allocations: 12 kB / 409.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.2956, allocations: 319.8 kB / 409.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.298, allocations: 1.836 MB / 411.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.2989, allocations: 0.6077 MB / 412.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005902/0.2995, allocations: 279 kB / 412.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.2995, allocations: 4.328 kB / 412.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004622/0.3, allocations: 277.1 kB / 412.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.3, allocations: 0 / 412.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002315/0.3023, allocations: 0.8386 MB / 413.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.3024, allocations: 85.09 kB / 413.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.3027, allocations: 320.4 kB / 414.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.3028, allocations: 33.7 kB / 414.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.3029, allocations: 216.7 kB / 414.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.3031, allocations: 150.8 kB / 414.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3032, allocations: 82.25 kB / 414.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3034, allocations: 350.7 kB / 414.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3036, allocations: 117.1 kB / 415 MB, free: 9.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.304, allocations: 253 kB / 415.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.3045, allocations: 387.1 kB / 415.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3045, allocations: 0 / 415.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008797/0.3054, allocations: 0.5054 MB / 416.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3055, allocations: 8 kB / 416.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3055, allocations: 11.92 kB / 416.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.3059, allocations: 149.1 kB / 416.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3062, allocations: 67.91 kB / 416.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.3092, allocations: 2.545 MB / 418.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.3094, allocations: 39.72 kB / 419 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.3095, allocations: 16 kB / 419 MB, free: 5.379 MB / 334.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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.3097, allocations: 178.6 kB / 419.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.3098, allocations: 47.66 kB / 419.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.705e-05/0.3099, allocations: 48.3 kB / 419.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3099, allocations: 8 kB / 419.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3099, allocations: 0 / 419.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3099, allocations: 4 kB / 419.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.3114, allocations: 1.024 MB / 420.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3114, allocations: 0 / 420.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3116, allocations: 35.92 kB / 420.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.312, allocations: 144.9 kB / 420.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.312, allocations: 12 kB / 420.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.3149, allocations: 2.535 MB / 423 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3149, allocations: 7.938 kB / 423 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.316, allocations: 0.7211 MB / 423.7 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.3162, allocations: 160.8 kB / 423.9 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.3162, allocations: 7.938 kB / 423.9 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.3165, allocations: 15.98 kB / 423.9 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.3166, allocations: 35.95 kB / 424 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.3166, allocations: 15.98 kB / 424 MB, free: 140 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.3169, allocations: 219.1 kB / 424.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3169, allocations: 0 / 424.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.3174, allocations: 143.8 kB / 424.3 MB, free: 15.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001518/0.3189, allocations: 1.276 MB / 425.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.32, allocations: 0.5408 MB / 426.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.32, allocations: 0.9375 kB / 426.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005984/0.3206, allocations: 382.1 kB / 426.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.3211, allocations: 92.88 kB / 426.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.3271, allocations: 3.943 MB / 430.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.3278, allocations: 0.8279 MB / 431.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.3279, allocations: 39.3 kB / 431.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3282, allocations: 139.4 kB / 431.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3282, allocations: 0 / 431.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.3717, allocations: 10.76 MB / 442.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.54, allocations: 8.359 kB / 442.3 MB, free: 13.85 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_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_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches